rkljw 589f85179c 第一次提交public_producer 10 ay önce
..
Catalogue 589f85179c 第一次提交public_producer 10 ay önce
Command 589f85179c 第一次提交public_producer 10 ay önce
DataCollector 589f85179c 第一次提交public_producer 10 ay önce
DependencyInjection 589f85179c 第一次提交public_producer 10 ay önce
Dumper 589f85179c 第一次提交public_producer 10 ay önce
Exception 589f85179c 第一次提交public_producer 10 ay önce
Extractor 589f85179c 第一次提交public_producer 10 ay önce
Formatter 589f85179c 第一次提交public_producer 10 ay önce
Loader 589f85179c 第一次提交public_producer 10 ay önce
Provider 589f85179c 第一次提交public_producer 10 ay önce
Reader 589f85179c 第一次提交public_producer 10 ay önce
Resources 589f85179c 第一次提交public_producer 10 ay önce
Test 589f85179c 第一次提交public_producer 10 ay önce
Util 589f85179c 第一次提交public_producer 10 ay önce
Writer 589f85179c 第一次提交public_producer 10 ay önce
CHANGELOG.md 589f85179c 第一次提交public_producer 10 ay önce
CatalogueMetadataAwareInterface.php 589f85179c 第一次提交public_producer 10 ay önce
DataCollectorTranslator.php 589f85179c 第一次提交public_producer 10 ay önce
IdentityTranslator.php 589f85179c 第一次提交public_producer 10 ay önce
LICENSE 589f85179c 第一次提交public_producer 10 ay önce
LocaleSwitcher.php 589f85179c 第一次提交public_producer 10 ay önce
LoggingTranslator.php 589f85179c 第一次提交public_producer 10 ay önce
MessageCatalogue.php 589f85179c 第一次提交public_producer 10 ay önce
MessageCatalogueInterface.php 589f85179c 第一次提交public_producer 10 ay önce
MetadataAwareInterface.php 589f85179c 第一次提交public_producer 10 ay önce
PseudoLocalizationTranslator.php 589f85179c 第一次提交public_producer 10 ay önce
README.md 589f85179c 第一次提交public_producer 10 ay önce
TranslatableMessage.php 589f85179c 第一次提交public_producer 10 ay önce
Translator.php 589f85179c 第一次提交public_producer 10 ay önce
TranslatorBag.php 589f85179c 第一次提交public_producer 10 ay önce
TranslatorBagInterface.php 589f85179c 第一次提交public_producer 10 ay önce
composer.json 589f85179c 第一次提交public_producer 10 ay önce

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

Help Symfony by sponsoring its development!

Resources