7 * Added `TranslationDumperPass`
8 * Added `TranslationExtractorPass`
9 * Added `TranslatorPass`
10 * Added `TranslationReader` and `TranslationReaderInterface`
11 * Added `<notes>` section to the Xliff 2.0 dumper.
12 * Improved Xliff 2.0 loader to load `<notes>` section.
13 * Added `TranslationWriterInterface`
14 * Deprecated `TranslationWriter::writeTranslations` in favor of `TranslationWriter::write`
15 * added support for adding custom message formatter and decoupling the default one.
16 * Added `PhpExtractor`
17 * Added `PhpStringTokenParser`
22 * Added support for escaping `|` in plural translations with double pipe.
27 * Deprecated the backup feature of the file dumper classes.
32 * removed `FileDumper::format()` method.
33 * Changed the visibility of the locale property in `Translator` from protected to private.
38 * deprecated FileDumper::format(), overwrite FileDumper::formatCatalogue() instead.
39 * deprecated Translator::getMessages(), rely on TranslatorBagInterface::getCatalogue() instead.
40 * added `FileDumper::formatCatalogue` which allows format the catalogue without dumping it into file.
41 * added option `json_encoding` to JsonFileDumper
42 * added options `as_tree`, `inline` to YamlFileDumper
43 * added support for XLIFF 2.0.
44 * added support for XLIFF target and tool attributes.
45 * added message parameters to DataCollectorTranslator.
46 * [DEPRECATION] The `DiffOperation` class has been deprecated and
47 will be removed in Symfony 3.0, since its operation has nothing to do with 'diff',
48 so the class name is misleading. The `TargetOperation` class should be used for
49 this use-case instead.
54 * added DataCollectorTranslator for collecting the translated messages.
59 * added possibility to cache catalogues
60 * added TranslatorBagInterface
61 * added LoggingTranslator
62 * added Translator::getMessages() for retrieving the message catalogue as an array
67 * added relative file path template to the file dumpers
68 * added optional backup to the file dumpers
69 * changed IcuResFileDumper to extend FileDumper
74 * added classes to make operations on catalogues (like making a diff or a merge on 2 catalogues)
75 * added Translator::getFallbackLocales()
76 * deprecated Translator::setFallbackLocale() in favor of the new Translator::setFallbackLocales() method
81 * QtTranslationsLoader class renamed to QtFileLoader. QtTranslationsLoader is deprecated and will be removed in 2.3.
82 * [BC BREAK] uniformized the exception thrown by the load() method when an error occurs. The load() method now
83 throws Symfony\Component\Translation\Exception\NotFoundResourceException when a resource cannot be found
84 and Symfony\Component\Translation\Exception\InvalidResourceException when a resource is invalid.
85 * changed the exception class thrown by some load() methods from \RuntimeException to \InvalidArgumentException
86 (IcuDatFileLoader, IcuResFileLoader and QtFileLoader)
91 * added support for more than one fallback locale
92 * added support for extracting translation messages from templates (Twig and PHP)
93 * added dumpers for translation catalogs
94 * added support for QT, gettext, and ResourceBundles