rkljw 600fc1a941 第一次提交 10 ay önce
..
Catalogue 600fc1a941 第一次提交 10 ay önce
Command 600fc1a941 第一次提交 10 ay önce
DataCollector 600fc1a941 第一次提交 10 ay önce
DependencyInjection 600fc1a941 第一次提交 10 ay önce
Dumper 600fc1a941 第一次提交 10 ay önce
Exception 600fc1a941 第一次提交 10 ay önce
Extractor 600fc1a941 第一次提交 10 ay önce
Formatter 600fc1a941 第一次提交 10 ay önce
Loader 600fc1a941 第一次提交 10 ay önce
Provider 600fc1a941 第一次提交 10 ay önce
Reader 600fc1a941 第一次提交 10 ay önce
Resources 600fc1a941 第一次提交 10 ay önce
Test 600fc1a941 第一次提交 10 ay önce
Util 600fc1a941 第一次提交 10 ay önce
Writer 600fc1a941 第一次提交 10 ay önce
CHANGELOG.md 600fc1a941 第一次提交 10 ay önce
CatalogueMetadataAwareInterface.php 600fc1a941 第一次提交 10 ay önce
DataCollectorTranslator.php 600fc1a941 第一次提交 10 ay önce
IdentityTranslator.php 600fc1a941 第一次提交 10 ay önce
LICENSE 600fc1a941 第一次提交 10 ay önce
LocaleSwitcher.php 600fc1a941 第一次提交 10 ay önce
LoggingTranslator.php 600fc1a941 第一次提交 10 ay önce
MessageCatalogue.php 600fc1a941 第一次提交 10 ay önce
MessageCatalogueInterface.php 600fc1a941 第一次提交 10 ay önce
MetadataAwareInterface.php 600fc1a941 第一次提交 10 ay önce
PseudoLocalizationTranslator.php 600fc1a941 第一次提交 10 ay önce
README.md 600fc1a941 第一次提交 10 ay önce
TranslatableMessage.php 600fc1a941 第一次提交 10 ay önce
Translator.php 600fc1a941 第一次提交 10 ay önce
TranslatorBag.php 600fc1a941 第一次提交 10 ay önce
TranslatorBagInterface.php 600fc1a941 第一次提交 10 ay önce
composer.json 600fc1a941 第一次提交 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