mailcow/data/web/inc/lib/vendor/symfony/translation
andryyy 5035e5bb42
[Web] Update composer deps
2021-06-23 08:05:09 +02:00
..
Catalogue [Web] Update composer deps 2021-06-23 08:05:09 +02:00
Command [Web] Update composer deps 2021-06-23 08:05:09 +02:00
DataCollector [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 2021-04-13 21:34:47 +02:00
DependencyInjection [Web] Update composer deps 2021-06-23 08:05:09 +02:00
Dumper [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 2021-04-13 21:34:47 +02:00
Exception [Web] Update composer deps 2021-06-23 08:05:09 +02:00
Extractor [Web] Update composer deps 2021-06-23 08:05:09 +02:00
Formatter [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 2021-04-13 21:34:47 +02:00
Loader [Web] Update composer deps 2021-06-23 08:05:09 +02:00
Provider [Web] Update composer deps 2021-06-23 08:05:09 +02:00
Reader [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 2021-04-13 21:34:47 +02:00
Resources [Web] Update composer deps 2021-06-23 08:05:09 +02:00
Test [Web] Update composer deps 2021-06-23 08:05:09 +02:00
Util [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 2021-04-13 21:34:47 +02:00
Writer [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 2021-04-13 21:34:47 +02:00
CHANGELOG.md [Web] Update composer deps 2021-06-23 08:05:09 +02:00
DataCollectorTranslator.php [Web] Update composer deps 2021-06-23 08:05:09 +02:00
IdentityTranslator.php [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 2021-04-13 21:34:47 +02:00
LICENSE [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 2021-04-13 21:34:47 +02:00
LoggingTranslator.php [Web] Update composer deps 2021-06-23 08:05:09 +02:00
MessageCatalogue.php [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 2021-04-13 21:34:47 +02:00
MessageCatalogueInterface.php [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 2021-04-13 21:34:47 +02:00
MetadataAwareInterface.php [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 2021-04-13 21:34:47 +02:00
PseudoLocalizationTranslator.php [Web] Update composer deps 2021-06-23 08:05:09 +02:00
README.md [Web] Update composer deps 2021-06-23 08:05:09 +02:00
TranslatableMessage.php [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 2021-04-13 21:34:47 +02:00
Translator.php [Web] Update composer deps 2021-06-23 08:05:09 +02:00
TranslatorBag.php [Web] Update composer deps 2021-06-23 08:05:09 +02:00
TranslatorBagInterface.php [Web] Update composer deps 2021-06-23 08:05:09 +02:00
composer.json [Web] Update composer deps 2021-06-23 08:05:09 +02:00

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