杨总惠通宝
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.
 
 
 
 
 
 
htb_backend/vendor/symfony/translation
lqmac 46bb7b19d3 初始化 9 months ago
..
Catalogue 初始化 9 months ago
Command 初始化 9 months ago
DataCollector 初始化 9 months ago
DependencyInjection 初始化 9 months ago
Dumper 初始化 9 months ago
Exception 初始化 9 months ago
Extractor 初始化 9 months ago
Formatter 初始化 9 months ago
Loader 初始化 9 months ago
Reader 初始化 9 months ago
Resources 初始化 9 months ago
Util 初始化 9 months ago
Writer 初始化 9 months ago
.gitattributes 初始化 9 months ago
CHANGELOG.md 初始化 9 months ago
DataCollectorTranslator.php 初始化 9 months ago
IdentityTranslator.php 初始化 9 months ago
LICENSE 初始化 9 months ago
LoggingTranslator.php 初始化 9 months ago
MessageCatalogue.php 初始化 9 months ago
MessageCatalogueInterface.php 初始化 9 months ago
MetadataAwareInterface.php 初始化 9 months ago
README.md 初始化 9 months ago
Translator.php 初始化 9 months ago
TranslatorBagInterface.php 初始化 9 months ago
composer.json 初始化 9 months 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;

$translator = new Translator('fr_FR');
$translator->addResource('array', [
    'Hello World!' => 'Bonjour !',
], 'fr_FR');

echo $translator->trans('Hello World!'); // outputs « Bonjour ! »

Resources