fleetCatalogue/vendor/symfony/translation
ShuriZma 0e79f2b4b6
init commit
git add /vendor
add several models
add vehicle list
2023-10-09 20:33:17 +02:00
..
Catalogue init commit 2023-10-09 20:33:17 +02:00
Command init commit 2023-10-09 20:33:17 +02:00
DataCollector init commit 2023-10-09 20:33:17 +02:00
DependencyInjection init commit 2023-10-09 20:33:17 +02:00
Dumper init commit 2023-10-09 20:33:17 +02:00
Exception init commit 2023-10-09 20:33:17 +02:00
Extractor init commit 2023-10-09 20:33:17 +02:00
Formatter init commit 2023-10-09 20:33:17 +02:00
Loader init commit 2023-10-09 20:33:17 +02:00
Provider init commit 2023-10-09 20:33:17 +02:00
Reader init commit 2023-10-09 20:33:17 +02:00
Resources init commit 2023-10-09 20:33:17 +02:00
Test init commit 2023-10-09 20:33:17 +02:00
Util init commit 2023-10-09 20:33:17 +02:00
Writer init commit 2023-10-09 20:33:17 +02:00
CHANGELOG.md init commit 2023-10-09 20:33:17 +02:00
CatalogueMetadataAwareInterface.php init commit 2023-10-09 20:33:17 +02:00
DataCollectorTranslator.php init commit 2023-10-09 20:33:17 +02:00
IdentityTranslator.php init commit 2023-10-09 20:33:17 +02:00
LICENSE init commit 2023-10-09 20:33:17 +02:00
LocaleSwitcher.php init commit 2023-10-09 20:33:17 +02:00
LoggingTranslator.php init commit 2023-10-09 20:33:17 +02:00
MessageCatalogue.php init commit 2023-10-09 20:33:17 +02:00
MessageCatalogueInterface.php init commit 2023-10-09 20:33:17 +02:00
MetadataAwareInterface.php init commit 2023-10-09 20:33:17 +02:00
PseudoLocalizationTranslator.php init commit 2023-10-09 20:33:17 +02:00
README.md init commit 2023-10-09 20:33:17 +02:00
TranslatableMessage.php init commit 2023-10-09 20:33:17 +02:00
Translator.php init commit 2023-10-09 20:33:17 +02:00
TranslatorBag.php init commit 2023-10-09 20:33:17 +02:00
TranslatorBagInterface.php init commit 2023-10-09 20:33:17 +02:00
composer.json init commit 2023-10-09 20:33:17 +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 ! »

Sponsor

The Translation component for Symfony 6.3 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