The best way to install Kdyby/Translation is using the Composer:
$ composer require kdyby/translation
Learn more in the documentation.
Homepage http://www.kdyby.org and repository http://github.com/kdyby/Translation.
Integration of Symfony/Translation into Nette Framework
composer require kdyby/translation
The best way to install Kdyby/Translation is using the Composer:
$ composer require kdyby/translation
Learn more in the documentation.
Homepage http://www.kdyby.org and repository http://github.com/kdyby/Translation.
Do not merge default fallbacks (#188)
Nette 3.1 compatibility (#183)
Fix translation of messages with dot at the end (#181)
Fix latte pair macros compatibility (#185)
Fix compatibility with Nette/Caching v3.1.3 (#187)
Fixed using parameters without count.
Fixed return value to always be string.
Fix nette/finder version constraint.
Updated for Nette 3.0.
Some of the deprecated interfaces, classes and methods are still used. Send PRs to help fix this.
This release is for Nette ~2.4
This release is for Nette 2.3.*
TAG_
not suffixed; thx @enumagBaseControl::translate()
(tests are no longer skipping it)Http\IRequest
instead of Http\Request
This release is for Nette ~2.3
Translator::translate(, count)
parameter optionalIResourceLoader
and dropped LoadersInitializer
+ Translator has less dependencies + loaders are created lazilyCatalogueCompiler::invalidateCache()
LocaleResolver\DefaultLocale
is dropped), introduced Translator::getDefaultLocale()
Translator::getAvailableLocales()
sorts the locales for platform independent resultPhrase
objectThis release is for Nette ~2.3
Translator::translate(, count)
parameter optionalIResourceLoader
and dropped LoadersInitializer
+ Translator has less dependencies + loaders are created lazilyCatalogueCompiler::invalidateCache()
LocaleResolver\DefaultLocale
is dropped), introduced Translator::getDefaultLocale()
Translator::getAvailableLocales()
sorts the locales for platform independent resultPhrase
objectThis release is for Nette 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.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.*
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.*
Translator::domain()
that returns PrefixedTranslator
IResponse
instead of Response
Translator::domain()
that returns PrefixedTranslator
Phrase
container for translation messagesThis release is for nightly Nette 2.1-dev
PrefixedTranslator
and macros to save your keyboardsCatalogueCompiler
usage when fallback is changed on runtimeSessionResolver
This release is for nightly Nette 2.1-dev
PrefixedTranslator
and macros to save your keyboardsCatalogueCompiler
usage when fallback is changed on runtimeSessionResolver
This release is for stable Nette 2.0.*
2.3.7
as of today)This release is for Nette nightly 2.1-dev
2.3.7
as of today)This release is for stable Nette 2.0.*
FallbackResolver
, LoadersInitializer
, CatalogueFactory
and CatalogueCompiler
BC WARNING: If you're using any other language than cs
or en
(those are default), you have to whitelist them
translator:
whitelist: ['cs', 'en', ...]
FallbackResolver
, LoadersInitializer
, CatalogueFactory
and CatalogueCompiler
BC WARNING: If you're using any other language than cs
or en
(those are default), you have to whitelist them
translator:
whitelist: ['cs', 'en', ...]