Releases: Kdyby/Translation
v2.4.0
- #127 Translating absolute message with domain is not supported exception
- #130 Config: normalize dirs when they contain inconsistent slashes
- #105 Use message selector for untranslated messages; thx @matejg
- #137, #118 Allow Symfony 3.x; thx @enumag
- Allow nette/php-generator & nette/utils 3.0
- #128 Fixes absolute messages in non-prefixed translator; thx @lexinek
- #131 Update example code in tests to Nette 2.4-style; thx @spaze
- #116 DOC: Added example for localization by TLD; thx @JanGalek
- #106, #108, #110, #111, #117 Fix Nette 2.4 compatibility; thx @romanmatyus, @enumag, @JanGalek, @JanTvrdik
This release is for Nette ~2.4
v2.3.1
- #127 Translating absolute message with domain is not supported exception
- #130 Config: normalize dirs when they contain inconsistent slashes
- #105 Use message selector for untranslated messages; thx @matejg
- #137, #118 Allow Symfony 3.x; thx @enumag
- Allow nette/php-generator & nette/utils 3.0
- #128 Fixes absolute messages in non-prefixed translator; thx @lexinek
- #131 Update example code in tests to Nette 2.4-style; thx @spaze
- #116 DOC: Added example for localization by TLD; thx @JanGalek
- #106, #108, #110, #111, #117 Fix Nette 2.4 compatibility; thx @romanmatyus, @enumag, @JanGalek, @JanTvrdik
This release is for Nette 2.3.*
v2.3.0
- #106 Fix compatibility with Nette/DI 2.4; thx @enumag
- #100 Faster searching of resources; thx @MartkCz
- #99 Faster compiling of extension; thx @MartkCz
- #98 Add translation domain to tracy panel; thx @enumag
- #95 Logging support for untranslated messages; thx @tomasstrejcek
- #96 Fix usage without Tracy; thx @enumag
- #93 Added support for skipping prefixed domain; thx @lexinek & @akadlec
- #92 Added JsonFileLoader; thx @ondrs
- #91 Make nette/application dependency optional; thx @enumag
- #90 TranslationExtension: Constant names are prefixed with
TAG_
not suffixed; thx @enumag - #85 Removed preg_replace from transChoice call to allow negative numbers; thx @wodCZ
- #82 Improved AcceptHeaderResolver; thx @enumag
- c414046 - Fixed fallback circular reference in CatalogueFactory
- 9189f91 - Nette fixed
BaseControl::translate()
(tests are no longer skipping it) - Compatibility with Symfony 2.5
- 300d8eb - AcceptHeaderResolver: accept
Http\IRequest
instead ofHttp\Request
- Fixed PHP 7.0 compatibility
This release is for Nette ~2.3
v2.2.0
- Make the
Translator::translate(, count)
parameter optional - Return full provided message string if translation was not found
- Replaces parameter placehoders with values even on untranslated messages
- Introduced
IResourceLoader
and droppedLoadersInitializer
+ Translator has less dependencies + loaders are created lazily - Introduced
CatalogueCompiler::invalidateCache()
- Simplified default locale resolution (
LocaleResolver\DefaultLocale
is dropped), introducedTranslator::getDefaultLocale()
- Option to disable whitelisting
- Allow shortNoEscape in LatteExtractor
Translator::getAvailableLocales()
sorts the locales for platform independent result- Compiler extension: add latte macros lazy
- Better debug information for Neon errors.
- PrefixedTranslator correctly prefixes
Phrase
object
This release is for Nette ~2.3
v2.1.0
- Make the
Translator::translate(, count)
parameter optional - Return full provided message string if translation was not found
- Replaces parameter placehoders with values even on untranslated messages
- Introduced
IResourceLoader
and droppedLoadersInitializer
+ Translator has less dependencies + loaders are created lazily - Introduced
CatalogueCompiler::invalidateCache()
- Simplified default locale resolution (
LocaleResolver\DefaultLocale
is dropped), introducedTranslator::getDefaultLocale()
- Option to disable whitelisting
- Allow shortNoEscape in LatteExtractor
Translator::getAvailableLocales()
sorts the locales for platform independent result- Compiler extension: add latte macros lazy
- Better debug information for Neon errors.
- PrefixedTranslator correctly prefixes
Phrase
object
This release is for Nette 2.2.*
v2.0.3
Fixed possible security issue, with locales not beeing properly escaped, before they were written to compiled catalogue on production. If you have your router written strictly to whitelist locales, then you're safe.
But still, you should better upgrade NOW.
This release is for Nette 2.2.*
v1.2.2
Fixed possible security issue, with locales not beeing properly escaped, before they were written to compiled catalogue on production. If you have your router written strictly to whitelist locales, then you're safe.
But still, you should better upgrade NOW.
This release is for Nette 2.1.*
v0.10.4
Fixed possible security issue, with locales not beeing properly escaped, before they were written to compiled catalogue on production. If you have your router written strictly to whitelist locales, then you're safe.
But still, you should better upgrade NOW.
This release is for Nette 2.0.*
v2.0.2
- Bump dependency on Symfony to 2.5
v0.10.3
- Added method
Translator::domain()
that returnsPrefixedTranslator
- Fixed compatibility with Nette