null
as the locale in Translator
lint:xliff
command, use lint:xliff -
(append a dash) instead to make it explicit.TranslationDataCollector
class as @final
.TranslatorPathsPass
Translator::transChoice()
in favor of using Translator::trans()
with a %count%
parameterTranslatorInterface
in favor of Symfony\Contracts\Translation\TranslatorInterface
MessageSelector
, Interval
and PluralizationRules
; use IdentityTranslator
insteadIntlFormatter
and IntlFormatterInterface
XliffLintCommand
Translator::getFallbackLocales()
and TranslationDataCollector::getFallbackLocales()
as internalFileDumper::setBackup()
method is deprecated.TranslationWriter::disableBackup()
method is deprecated.XliffFileDumper
will write "name" on the "unit" node when dumping XLIFF 2.0.FileDumper
classTranslationWriter::writeTranslations()
methodMessageSelector
instances to the constructor of the Translator
classTranslationDumperPass
TranslationExtractorPass
TranslatorPass
TranslationReader
and TranslationReaderInterface
<notes>
section to the Xliff 2.0 dumper.<notes>
section.TranslationWriterInterface
TranslationWriter::writeTranslations
in favor of TranslationWriter::write
PhpExtractor
PhpStringTokenParser
|
in plural translations with double pipe.FileDumper::format()
method.Translator
from protected to private.FileDumper::formatCatalogue
which allows format the catalogue without dumping it into file.json_encoding
to JsonFileDumperas_tree
, inline
to YamlFileDumperDiffOperation
class has been deprecated and
will be removed in Symfony 3.0, since its operation has nothing to do with 'diff',
so the class name is misleading. The TargetOperation
class should be used for
this use-case instead.