itflow/plugins/php-imap/vendor/symfony/translation
johnnyq 2edd39c16d Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
..
Catalogue Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Command Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
DataCollector Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
DependencyInjection Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Dumper Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Exception Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Extractor Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Formatter Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Loader Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Provider Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Reader Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Resources Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Test Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Util Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Writer Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
CHANGELOG.md Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
CatalogueMetadataAwareInterface.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
DataCollectorTranslator.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
IdentityTranslator.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
LICENSE Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
LocaleSwitcher.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
LoggingTranslator.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
MessageCatalogue.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
MessageCatalogueInterface.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
MetadataAwareInterface.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
PseudoLocalizationTranslator.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
README.md Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
TranslatableMessage.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
Translator.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
TranslatorBag.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
TranslatorBagInterface.php Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04:00
composer.json Remove the vendor directory in .gitignore as these dependencies are needed for php-imap 2024-06-12 16:15:10 -04: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 ! »

Sponsor

The Translation component for Symfony 7.1 is backed by:

  • Crowdin, a cloud-based localization management software helping teams to go global and stay agile.

Help Symfony by sponsoring its development!

Resources