mailcow/data/web/inc/lib/vendor/symfony/translation
andryyy 98bc947d00 [Web] Update composer libs
- Removing symfony/deprecation-contracts (v2.4.0)
  - Upgrading ddeboer/imap (1.12.1 => 1.13.1)
  - Upgrading directorytree/ldaprecord (v2.6.3 => v2.10.1)
  - Upgrading illuminate/contracts (v8.53.1 => v9.3.0)
  - Upgrading nesbot/carbon (2.51.1 => 2.57.0)
  - Upgrading phpmailer/phpmailer (v6.5.0 => v6.6.0)
  - Upgrading psr/container (1.1.1 => 2.0.2)
  - Upgrading psr/log (1.1.4 => 3.0.0)
  - Upgrading psr/simple-cache (1.0.1 => 2.0.0)
  - Upgrading robthree/twofactorauth (1.8.0 => 1.8.1)
  - Upgrading symfony/polyfill-ctype (v1.23.0 => v1.24.0)
  - Upgrading symfony/polyfill-mbstring (v1.23.1 => v1.24.0)
  - Upgrading symfony/polyfill-php80 (v1.23.1 => v1.24.0)
  - Upgrading symfony/translation (v5.3.4 => v6.0.5)
  - Upgrading symfony/translation-contracts (v2.4.0 => v3.0.0)
  - Upgrading symfony/var-dumper (v5.3.6 => v6.0.5)
  - Upgrading tightenco/collect (v8.34.0 => v8.83.2)
  - Upgrading twig/twig (v3.3.2 => v3.3.8)
2022-03-02 20:08:44 +01:00
..
Catalogue [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Command [Web] Update composer libs 2022-03-02 20:08:44 +01:00
DataCollector [Web] Update composer libs 2022-03-02 20:08:44 +01:00
DependencyInjection [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Dumper [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Exception [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Extractor [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Formatter [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Loader [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Provider [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Reader [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Resources [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Test [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Util [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Writer [Web] Update composer libs 2022-03-02 20:08:44 +01:00
CHANGELOG.md [Web] Update composer libs 2022-03-02 20:08:44 +01:00
composer.json [Web] Update composer libs 2022-03-02 20:08:44 +01:00
DataCollectorTranslator.php [Web] Update composer libs 2022-03-02 20:08:44 +01: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] Update composer libs 2022-03-02 20:08:44 +01:00
LoggingTranslator.php [Web] Update composer libs 2022-03-02 20:08:44 +01:00
MessageCatalogue.php [Web] Update composer libs 2022-03-02 20:08:44 +01:00
MessageCatalogueInterface.php [Web] Update composer libs 2022-03-02 20:08:44 +01:00
MetadataAwareInterface.php [Web] Update composer libs 2022-03-02 20:08:44 +01:00
PseudoLocalizationTranslator.php [Web] Update composer libs 2022-03-02 20:08:44 +01:00
README.md [Web] Update composer libs 2022-03-02 20:08:44 +01:00
TranslatableMessage.php [Web] Update composer libs 2022-03-02 20:08:44 +01:00
Translator.php [Web] Update composer libs 2022-03-02 20:08:44 +01:00
TranslatorBag.php [Web] Update composer libs 2022-03-02 20:08:44 +01:00
TranslatorBagInterface.php [Web] Update composer libs 2022-03-02 20:08:44 +01:00

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

The Translation component for Symfony 5.4/6.0 is backed by:

  • Crowdin, a cloud-based localization management software helping teams to go global and stay agile.
  • Lokalise, a continuous localization and translation management platform that integrates into your development workflow so you can ship localized products, faster.

Help Symfony by sponsoring its development!

Resources