andryyy 5035e5bb42 [Web] Update composer deps 4 anni fa
..
Catalogue 5035e5bb42 [Web] Update composer deps 4 anni fa
Command 5035e5bb42 [Web] Update composer deps 4 anni fa
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 4 anni fa
DependencyInjection 5035e5bb42 [Web] Update composer deps 4 anni fa
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 4 anni fa
Exception 5035e5bb42 [Web] Update composer deps 4 anni fa
Extractor 5035e5bb42 [Web] Update composer deps 4 anni fa
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 4 anni fa
Loader 5035e5bb42 [Web] Update composer deps 4 anni fa
Provider 5035e5bb42 [Web] Update composer deps 4 anni fa
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 4 anni fa
Resources 5035e5bb42 [Web] Update composer deps 4 anni fa
Test 5035e5bb42 [Web] Update composer deps 4 anni fa
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 4 anni fa
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 4 anni fa
CHANGELOG.md 5035e5bb42 [Web] Update composer deps 4 anni fa
DataCollectorTranslator.php 5035e5bb42 [Web] Update composer deps 4 anni fa
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 4 anni fa
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 4 anni fa
LoggingTranslator.php 5035e5bb42 [Web] Update composer deps 4 anni fa
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 4 anni fa
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 4 anni fa
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 4 anni fa
PseudoLocalizationTranslator.php 5035e5bb42 [Web] Update composer deps 4 anni fa
README.md 5035e5bb42 [Web] Update composer deps 4 anni fa
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 4 anni fa
Translator.php 5035e5bb42 [Web] Update composer deps 4 anni fa
TranslatorBag.php 5035e5bb42 [Web] Update composer deps 4 anni fa
TranslatorBagInterface.php 5035e5bb42 [Web] Update composer deps 4 anni fa
composer.json 5035e5bb42 [Web] Update composer deps 4 anni fa

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