Kirin 80169d6661 first пре 4 година
..
Catalogue 80169d6661 first пре 4 година
Command 80169d6661 first пре 4 година
DataCollector 80169d6661 first пре 4 година
DependencyInjection 80169d6661 first пре 4 година
Dumper 80169d6661 first пре 4 година
Exception 80169d6661 first пре 4 година
Extractor 80169d6661 first пре 4 година
Formatter 80169d6661 first пре 4 година
Loader 80169d6661 first пре 4 година
Reader 80169d6661 first пре 4 година
Resources 80169d6661 first пре 4 година
Util 80169d6661 first пре 4 година
Writer 80169d6661 first пре 4 година
.gitattributes 80169d6661 first пре 4 година
CHANGELOG.md 80169d6661 first пре 4 година
DataCollectorTranslator.php 80169d6661 first пре 4 година
IdentityTranslator.php 80169d6661 first пре 4 година
LICENSE 80169d6661 first пре 4 година
LoggingTranslator.php 80169d6661 first пре 4 година
MessageCatalogue.php 80169d6661 first пре 4 година
MessageCatalogueInterface.php 80169d6661 first пре 4 година
MetadataAwareInterface.php 80169d6661 first пре 4 година
README.md 80169d6661 first пре 4 година
Translator.php 80169d6661 first пре 4 година
TranslatorBagInterface.php 80169d6661 first пре 4 година
composer.json 80169d6661 first пре 4 година

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