Kirin 80169d6661 first 3 rokov pred
..
Catalogue 80169d6661 first 3 rokov pred
Command 80169d6661 first 3 rokov pred
DataCollector 80169d6661 first 3 rokov pred
DependencyInjection 80169d6661 first 3 rokov pred
Dumper 80169d6661 first 3 rokov pred
Exception 80169d6661 first 3 rokov pred
Extractor 80169d6661 first 3 rokov pred
Formatter 80169d6661 first 3 rokov pred
Loader 80169d6661 first 3 rokov pred
Reader 80169d6661 first 3 rokov pred
Resources 80169d6661 first 3 rokov pred
Util 80169d6661 first 3 rokov pred
Writer 80169d6661 first 3 rokov pred
.gitattributes 80169d6661 first 3 rokov pred
CHANGELOG.md 80169d6661 first 3 rokov pred
DataCollectorTranslator.php 80169d6661 first 3 rokov pred
IdentityTranslator.php 80169d6661 first 3 rokov pred
LICENSE 80169d6661 first 3 rokov pred
LoggingTranslator.php 80169d6661 first 3 rokov pred
MessageCatalogue.php 80169d6661 first 3 rokov pred
MessageCatalogueInterface.php 80169d6661 first 3 rokov pred
MetadataAwareInterface.php 80169d6661 first 3 rokov pred
README.md 80169d6661 first 3 rokov pred
Translator.php 80169d6661 first 3 rokov pred
TranslatorBagInterface.php 80169d6661 first 3 rokov pred
composer.json 80169d6661 first 3 rokov pred

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