zhangguidong 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
..
Catalogue 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Command 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
DataCollector 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
DependencyInjection 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Dumper 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Exception 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Extractor 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Formatter 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Loader 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Reader 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Resources 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Util 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Writer 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
.gitattributes 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
CHANGELOG.md 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
DataCollectorTranslator.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
IdentityTranslator.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Interval.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
LICENSE 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
LoggingTranslator.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
MessageCatalogue.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
MessageCatalogueInterface.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
MessageSelector.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
MetadataAwareInterface.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
PluralizationRules.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
README.md 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
Translator.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
TranslatorBagInterface.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
TranslatorInterface.php 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos
composer.json 98403600f9 sunguidong %!s(int64=2) %!d(string=hai) anos

README.md

Translation Component

The Translation component provides tools to internationalize your application.

Getting Started

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

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

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

Resources