This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Translation/CHANGELOG.md

40 lines
1.4 KiB
Markdown
Raw Normal View History

2012-04-26 18:52:52 +01:00
CHANGELOG
=========
2.6.0
-----
* added possibility to cache catalogues
2.5.0
-----
* added relative file path template to the file dumpers
2014-04-30 18:04:41 +01:00
* added optional backup to the file dumpers
* changed IcuResFileDumper to extend FileDumper
* added Translator::getMessages() for retrieving the message catalogue as an array
2.3.0
-----
* added classes to make operations on catalogues (like making a diff or a merge on 2 catalogues)
* added Translator::getFallbackLocales()
* deprecated Translator::setFallbackLocale() in favor of the new Translator::setFallbackLocales() method
2.2.0
-----
* QtTranslationsLoader class renamed to QtFileLoader. QtTranslationsLoader is deprecated and will be removed in 2.3.
* [BC BREAK] uniformized the exception thrown by the load() method when an error occurs. The load() method now
2012-12-13 12:24:44 +00:00
throws Symfony\Component\Translation\Exception\NotFoundResourceException when a resource cannot be found
and Symfony\Component\Translation\Exception\InvalidResourceException when a resource is invalid.
* changed the exception class thrown by some load() methods from \RuntimeException to \InvalidArgumentException
(IcuDatFileLoader, IcuResFileLoader and QtFileLoader)
2012-04-26 18:52:52 +01:00
2.1.0
-----
* added support for more than one fallback locale
* added support for extracting translation messages from templates (Twig and PHP)
* added dumpers for translation catalogs
* added support for QT, gettext, and ResourceBundles