rkljw 600fc1a941 第一次提交 il y a 10 mois
..
Catalogue 600fc1a941 第一次提交 il y a 10 mois
Command 600fc1a941 第一次提交 il y a 10 mois
DataCollector 600fc1a941 第一次提交 il y a 10 mois
DependencyInjection 600fc1a941 第一次提交 il y a 10 mois
Dumper 600fc1a941 第一次提交 il y a 10 mois
Exception 600fc1a941 第一次提交 il y a 10 mois
Extractor 600fc1a941 第一次提交 il y a 10 mois
Formatter 600fc1a941 第一次提交 il y a 10 mois
Loader 600fc1a941 第一次提交 il y a 10 mois
Provider 600fc1a941 第一次提交 il y a 10 mois
Reader 600fc1a941 第一次提交 il y a 10 mois
Resources 600fc1a941 第一次提交 il y a 10 mois
Test 600fc1a941 第一次提交 il y a 10 mois
Util 600fc1a941 第一次提交 il y a 10 mois
Writer 600fc1a941 第一次提交 il y a 10 mois
CHANGELOG.md 600fc1a941 第一次提交 il y a 10 mois
CatalogueMetadataAwareInterface.php 600fc1a941 第一次提交 il y a 10 mois
DataCollectorTranslator.php 600fc1a941 第一次提交 il y a 10 mois
IdentityTranslator.php 600fc1a941 第一次提交 il y a 10 mois
LICENSE 600fc1a941 第一次提交 il y a 10 mois
LocaleSwitcher.php 600fc1a941 第一次提交 il y a 10 mois
LoggingTranslator.php 600fc1a941 第一次提交 il y a 10 mois
MessageCatalogue.php 600fc1a941 第一次提交 il y a 10 mois
MessageCatalogueInterface.php 600fc1a941 第一次提交 il y a 10 mois
MetadataAwareInterface.php 600fc1a941 第一次提交 il y a 10 mois
PseudoLocalizationTranslator.php 600fc1a941 第一次提交 il y a 10 mois
README.md 600fc1a941 第一次提交 il y a 10 mois
TranslatableMessage.php 600fc1a941 第一次提交 il y a 10 mois
Translator.php 600fc1a941 第一次提交 il y a 10 mois
TranslatorBag.php 600fc1a941 第一次提交 il y a 10 mois
TranslatorBagInterface.php 600fc1a941 第一次提交 il y a 10 mois
composer.json 600fc1a941 第一次提交 il y a 10 mois

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