This repository has been archived by the owner on Jun 2, 2020. It is now read-only.
Releases: Orbitale/TranslationBundle
Releases · Orbitale/TranslationBundle
v1.3.1
v1.3.0
No major change, just transferred ownership
v1.2.0
v1.2.0-beta
Major changes:
- Added PHPUnit tests
- Optimized the
Extractor
: Moved the extraction logic in ado*
method. The first called method only handles the extraction process' potential exceptions depending on its usage in CLI or request. - New features in the
Translator
:- A flushing strategy has been implemented in order to allow the user to manipulate the
$translationsToPersist
collection by himself. - The
setLocale()
function now works properly, the same way the native Symfony translator does. - Made the
getTranslation()
andfindToken()
methods public, to allow creating custom back-ends or for some other purposes.
- A flushing strategy has been implemented in order to allow the user to manipulate the
BC Breaks:
- The
translate()
method has been deleted, to avoid relying on this old fashioned method. Thetrans()
method should be used, as it is the native translator's behavior, and I don't want to supplant the translator. I only want to add a new database logic layer to the translator.
Minor changes:
- Removed some never-used code in the
TranslationLikeHydrator
- Added a lot of PHPDoc for many classes/methods
- Linked to Coveralls and Travis-CI for quality informations
v1.1.1
Fixed composer.json namespacing
v1.1.0
Added support for transchoice
Changed namespace from PSR-0 to PSR-4.
Fixed a bug occuring when installing the bundle without setting any parameter under pierstoval_translation
in config.
Default managed locales are defined from the %locale%
parameter, only if it's set in configuration.
Updated docs and phpdoc.
v1.0
First stable version