andryyy 5035e5bb42 [Web] Update composer deps hace 4 años
..
Catalogue 5035e5bb42 [Web] Update composer deps hace 4 años
Command 5035e5bb42 [Web] Update composer deps hace 4 años
DataCollector 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
DependencyInjection 5035e5bb42 [Web] Update composer deps hace 4 años
Dumper 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
Exception 5035e5bb42 [Web] Update composer deps hace 4 años
Extractor 5035e5bb42 [Web] Update composer deps hace 4 años
Formatter 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
Loader 5035e5bb42 [Web] Update composer deps hace 4 años
Provider 5035e5bb42 [Web] Update composer deps hace 4 años
Reader 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
Resources 5035e5bb42 [Web] Update composer deps hace 4 años
Test 5035e5bb42 [Web] Update composer deps hace 4 años
Util 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
Writer 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
CHANGELOG.md 5035e5bb42 [Web] Update composer deps hace 4 años
DataCollectorTranslator.php 5035e5bb42 [Web] Update composer deps hace 4 años
IdentityTranslator.php 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
LICENSE 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
LoggingTranslator.php 5035e5bb42 [Web] Update composer deps hace 4 años
MessageCatalogue.php 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
MessageCatalogueInterface.php 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
MetadataAwareInterface.php 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
PseudoLocalizationTranslator.php 5035e5bb42 [Web] Update composer deps hace 4 años
README.md 5035e5bb42 [Web] Update composer deps hace 4 años
TranslatableMessage.php 19843cc786 [Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication hace 4 años
Translator.php 5035e5bb42 [Web] Update composer deps hace 4 años
TranslatorBag.php 5035e5bb42 [Web] Update composer deps hace 4 años
TranslatorBagInterface.php 5035e5bb42 [Web] Update composer deps hace 4 años
composer.json 5035e5bb42 [Web] Update composer deps hace 4 años

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 ! »

Resources