Skip to content

Releases: Kdyby/Translation

v2.0.1

28 Jul 00:28
Compare
Choose a tag to compare
  • Fixed composer dependencies

v1.2.1

28 Jul 00:26
Compare
Choose a tag to compare
  • SessionResolver requires IResponse instead of Response

v2.0.0

28 Jul 00:25
Compare
Choose a tag to compare
  • Bumped Nette dependency to 2.2
  • Brutal internal refactoring to fix compatibility with new Nette
  • Visualisation of locale resolution process in tracy bar panel
  • List ignored resources in panel
  • Loaded resources listed in panel
  • Fixed locale handling in forward requests
  • Yaml: visualisation of Yaml\ParseException in bluescreen, thx @vojtech-dobes
  • Locale SessionResolver checks that session is started
  • Locale resolvers can be enabled and disabled
  • Added method Translator::domain() that returns PrefixedTranslator

v1.2.0

10 Apr 17:50
Compare
Choose a tag to compare
  • Implemented Phrase container for translation messages
  • Locale resolvers can be enabled and disabled
  • improved compatibility with development Nette
  • Loaded and ignored resources listed in panel
  • Visualisation of locale resolution process in tracy bar panel

This release is for nightly Nette 2.1-dev

v1.1.2

10 Apr 17:42
Compare
Choose a tag to compare
  • fixed several compatibility issues
  • upgraded to newer symfony components
  • added PrefixedTranslator and macros to save your keyboards
  • fixed CatalogueCompiler usage when fallback is changed on runtime
  • added locale SessionResolver

This release is for nightly Nette 2.1-dev

v0.10.2

10 Apr 17:42
Compare
Choose a tag to compare
  • fixed several compatibility issues
  • upgraded to newer symfony components
  • added PrefixedTranslator and macros to save your keyboards
  • fixed CatalogueCompiler usage when fallback is changed on runtime
  • added locale SessionResolver

This release is for stable Nette 2.0.*

v1.1.1

20 Nov 23:50
Compare
Choose a tag to compare
  • Fixed compatibility with newest stable Symfony/Translation (2.3.7 as of today)
  • Invalidating locale on every application request, which fixes problem with too early locale resolution (before request), that could result in locale parameter from router not beeing used.
  • Added bunch of tests

This release is for Nette nightly 2.1-dev

v0.10.1

20 Nov 23:50
Compare
Choose a tag to compare
  • Fixed compatibility with newest stable Symfony/Translation (2.3.7 as of today)
  • Invalidating locale on every application request, which fixes problem with too early locale resolution (before request), that could result in locale parameter from router not beeing used.
  • Added bunch of tests

This release is for stable Nette 2.0.*

v1.1

03 Nov 00:00
Compare
Choose a tag to compare
  • Added ITranslationProvider for translation resources
  • Added translation resource whitelisting
  • Translator broken apart to 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', ...]

v0.10.0

02 Nov 23:50
Compare
Choose a tag to compare
  • Upgraded symfony dependencies
  • Fixed cache invalidation when adding or removing a translation file
  • Added ITranslationProvider for translation resources
  • Added translation resource whitelisting
  • Translator broken apart to 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', ...]