控制台应用,yzncms本身基于tp5.1框架,里面的队列用不了,bug,坑
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Your Name cfaaa533bb dsdfd 11 个月前
..
Catalogue dsdfd 11 个月前
Command dsdfd 11 个月前
DataCollector dsdfd 11 个月前
DependencyInjection dsdfd 11 个月前
Dumper dsdfd 11 个月前
Exception dsdfd 11 个月前
Extractor dsdfd 11 个月前
Formatter dsdfd 11 个月前
Loader dsdfd 11 个月前
Provider dsdfd 11 个月前
Reader dsdfd 11 个月前
Resources dsdfd 11 个月前
Test dsdfd 11 个月前
Util dsdfd 11 个月前
Writer dsdfd 11 个月前
CHANGELOG.md dsdfd 11 个月前
DataCollectorTranslator.php dsdfd 11 个月前
IdentityTranslator.php dsdfd 11 个月前
LICENSE dsdfd 11 个月前
LoggingTranslator.php dsdfd 11 个月前
MessageCatalogue.php dsdfd 11 个月前
MessageCatalogueInterface.php dsdfd 11 个月前
MetadataAwareInterface.php dsdfd 11 个月前
PseudoLocalizationTranslator.php dsdfd 11 个月前
README.md dsdfd 11 个月前
TranslatableMessage.php dsdfd 11 个月前
Translator.php dsdfd 11 个月前
TranslatorBag.php dsdfd 11 个月前
TranslatorBagInterface.php dsdfd 11 个月前
composer.json dsdfd 11 个月前

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