devn00b c2c6bf7610 Initial Upload of Bot vor 1 Jahr
..
Catalogue c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Command c2c6bf7610 Initial Upload of Bot vor 1 Jahr
DataCollector c2c6bf7610 Initial Upload of Bot vor 1 Jahr
DependencyInjection c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Dumper c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Exception c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Extractor c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Formatter c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Loader c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Provider c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Reader c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Resources c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Test c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Util c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Writer c2c6bf7610 Initial Upload of Bot vor 1 Jahr
CHANGELOG.md c2c6bf7610 Initial Upload of Bot vor 1 Jahr
DataCollectorTranslator.php c2c6bf7610 Initial Upload of Bot vor 1 Jahr
IdentityTranslator.php c2c6bf7610 Initial Upload of Bot vor 1 Jahr
LICENSE c2c6bf7610 Initial Upload of Bot vor 1 Jahr
LoggingTranslator.php c2c6bf7610 Initial Upload of Bot vor 1 Jahr
MessageCatalogue.php c2c6bf7610 Initial Upload of Bot vor 1 Jahr
MessageCatalogueInterface.php c2c6bf7610 Initial Upload of Bot vor 1 Jahr
MetadataAwareInterface.php c2c6bf7610 Initial Upload of Bot vor 1 Jahr
PseudoLocalizationTranslator.php c2c6bf7610 Initial Upload of Bot vor 1 Jahr
README.md c2c6bf7610 Initial Upload of Bot vor 1 Jahr
TranslatableMessage.php c2c6bf7610 Initial Upload of Bot vor 1 Jahr
Translator.php c2c6bf7610 Initial Upload of Bot vor 1 Jahr
TranslatorBag.php c2c6bf7610 Initial Upload of Bot vor 1 Jahr
TranslatorBagInterface.php c2c6bf7610 Initial Upload of Bot vor 1 Jahr
composer.json c2c6bf7610 Initial Upload of Bot vor 1 Jahr

README.md

Translation Component

The Translation component provides tools to internationalize your application.

Getting Started

$ composer require symfony/translation
use Symfony\Component\Translation\Translator;
use Symfony\Component\Translation\Loader\ArrayLoader;

$translator = new Translator('fr_FR');
$translator->addLoader('array', new ArrayLoader());
$translator->addResource('array', [
    'Hello World!' => 'Bonjour !',
], 'fr_FR');

echo $translator->trans('Hello World!'); // outputs « Bonjour ! »

Sponsor

The Translation component for Symfony 5.4/6.0 is backed by:

  • Crowdin, a cloud-based localization management software helping teams to go global and stay agile.
  • Lokalise, a continuous localization and translation management platform that integrates into your development workflow so you can ship localized products, faster.

Help Symfony by sponsoring its development!

Resources