Kirin 80169d6661 first %!s(int64=3) %!d(string=hai) anos
..
Catalogue 80169d6661 first %!s(int64=3) %!d(string=hai) anos
Command 80169d6661 first %!s(int64=3) %!d(string=hai) anos
DataCollector 80169d6661 first %!s(int64=3) %!d(string=hai) anos
DependencyInjection 80169d6661 first %!s(int64=3) %!d(string=hai) anos
Dumper 80169d6661 first %!s(int64=3) %!d(string=hai) anos
Exception 80169d6661 first %!s(int64=3) %!d(string=hai) anos
Extractor 80169d6661 first %!s(int64=3) %!d(string=hai) anos
Formatter 80169d6661 first %!s(int64=3) %!d(string=hai) anos
Loader 80169d6661 first %!s(int64=3) %!d(string=hai) anos
Reader 80169d6661 first %!s(int64=3) %!d(string=hai) anos
Resources 80169d6661 first %!s(int64=3) %!d(string=hai) anos
Util 80169d6661 first %!s(int64=3) %!d(string=hai) anos
Writer 80169d6661 first %!s(int64=3) %!d(string=hai) anos
.gitattributes 80169d6661 first %!s(int64=3) %!d(string=hai) anos
CHANGELOG.md 80169d6661 first %!s(int64=3) %!d(string=hai) anos
DataCollectorTranslator.php 80169d6661 first %!s(int64=3) %!d(string=hai) anos
IdentityTranslator.php 80169d6661 first %!s(int64=3) %!d(string=hai) anos
LICENSE 80169d6661 first %!s(int64=3) %!d(string=hai) anos
LoggingTranslator.php 80169d6661 first %!s(int64=3) %!d(string=hai) anos
MessageCatalogue.php 80169d6661 first %!s(int64=3) %!d(string=hai) anos
MessageCatalogueInterface.php 80169d6661 first %!s(int64=3) %!d(string=hai) anos
MetadataAwareInterface.php 80169d6661 first %!s(int64=3) %!d(string=hai) anos
README.md 80169d6661 first %!s(int64=3) %!d(string=hai) anos
Translator.php 80169d6661 first %!s(int64=3) %!d(string=hai) anos
TranslatorBagInterface.php 80169d6661 first %!s(int64=3) %!d(string=hai) anos
composer.json 80169d6661 first %!s(int64=3) %!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