海工商新版后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
小菜逼 239fc20902 海工商新后台首版 2 years ago
..
Catalogue 海工商新后台首版 2 years ago
Command 海工商新后台首版 2 years ago
DataCollector 海工商新后台首版 2 years ago
DependencyInjection 海工商新后台首版 2 years ago
Dumper 海工商新后台首版 2 years ago
Exception 海工商新后台首版 2 years ago
Extractor 海工商新后台首版 2 years ago
Formatter 海工商新后台首版 2 years ago
Loader 海工商新后台首版 2 years ago
Provider 海工商新后台首版 2 years ago
Reader 海工商新后台首版 2 years ago
Resources 海工商新后台首版 2 years ago
Test 海工商新后台首版 2 years ago
Util 海工商新后台首版 2 years ago
Writer 海工商新后台首版 2 years ago
CHANGELOG.md 海工商新后台首版 2 years ago
DataCollectorTranslator.php 海工商新后台首版 2 years ago
IdentityTranslator.php 海工商新后台首版 2 years ago
LICENSE 海工商新后台首版 2 years ago
LoggingTranslator.php 海工商新后台首版 2 years ago
MessageCatalogue.php 海工商新后台首版 2 years ago
MessageCatalogueInterface.php 海工商新后台首版 2 years ago
MetadataAwareInterface.php 海工商新后台首版 2 years ago
PseudoLocalizationTranslator.php 海工商新后台首版 2 years ago
README.md 海工商新后台首版 2 years ago
TranslatableMessage.php 海工商新后台首版 2 years ago
Translator.php 海工商新后台首版 2 years ago
TranslatorBag.php 海工商新后台首版 2 years ago
TranslatorBagInterface.php 海工商新后台首版 2 years ago
composer.json 海工商新后台首版 2 years ago

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 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