Zory dcdfcf7578 0720-0127-h01 3 ay önce
..
Catalogue dcdfcf7578 0720-0127-h01 3 ay önce
Command dcdfcf7578 0720-0127-h01 3 ay önce
DataCollector dcdfcf7578 0720-0127-h01 3 ay önce
DependencyInjection dcdfcf7578 0720-0127-h01 3 ay önce
Dumper dcdfcf7578 0720-0127-h01 3 ay önce
Exception dcdfcf7578 0720-0127-h01 3 ay önce
Extractor dcdfcf7578 0720-0127-h01 3 ay önce
Formatter dcdfcf7578 0720-0127-h01 3 ay önce
Loader dcdfcf7578 0720-0127-h01 3 ay önce
Provider dcdfcf7578 0720-0127-h01 3 ay önce
Reader dcdfcf7578 0720-0127-h01 3 ay önce
Resources dcdfcf7578 0720-0127-h01 3 ay önce
Test dcdfcf7578 0720-0127-h01 3 ay önce
Util dcdfcf7578 0720-0127-h01 3 ay önce
Writer dcdfcf7578 0720-0127-h01 3 ay önce
CHANGELOG.md dcdfcf7578 0720-0127-h01 3 ay önce
CatalogueMetadataAwareInterface.php dcdfcf7578 0720-0127-h01 3 ay önce
DataCollectorTranslator.php dcdfcf7578 0720-0127-h01 3 ay önce
IdentityTranslator.php dcdfcf7578 0720-0127-h01 3 ay önce
LICENSE dcdfcf7578 0720-0127-h01 3 ay önce
LocaleSwitcher.php dcdfcf7578 0720-0127-h01 3 ay önce
LoggingTranslator.php dcdfcf7578 0720-0127-h01 3 ay önce
MessageCatalogue.php dcdfcf7578 0720-0127-h01 3 ay önce
MessageCatalogueInterface.php dcdfcf7578 0720-0127-h01 3 ay önce
MetadataAwareInterface.php dcdfcf7578 0720-0127-h01 3 ay önce
PseudoLocalizationTranslator.php dcdfcf7578 0720-0127-h01 3 ay önce
README.md dcdfcf7578 0720-0127-h01 3 ay önce
StaticMessage.php dcdfcf7578 0720-0127-h01 3 ay önce
TranslatableMessage.php dcdfcf7578 0720-0127-h01 3 ay önce
Translator.php dcdfcf7578 0720-0127-h01 3 ay önce
TranslatorBag.php dcdfcf7578 0720-0127-h01 3 ay önce
TranslatorBagInterface.php dcdfcf7578 0720-0127-h01 3 ay önce
composer.json dcdfcf7578 0720-0127-h01 3 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