Statistics
261753
82
31
98d
Badges
Dependencies
  • v2.4.0 v2.4.0

    This release is for Nette ~2.4


    Would you like to have the new features faster? Or to add something, that is not in the roadmap?
    Consider https://filip-prochazka.com/paid-support

  • v2.3.1 v2.3.1

    This release is for Nette 2.3.*


    Do you need to maintain legacy application with Nette 2.3 or older and want the older versions still supported?
    Consider https://filip-prochazka.com/paid-support

  • v2.3.0 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 of Http\Request
    • Fixed PHP 7.0 compatibility

    This release is for Nette ~2.3

  • v2.2.0 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 dropped LoadersInitializer + Translator has less dependencies + loaders are created lazily
    • Introduced CatalogueCompiler::invalidateCache()
    • Simplified default locale resolution (LocaleResolver\DefaultLocale is dropped), introduced Translator::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 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 dropped LoadersInitializer + Translator has less dependencies + loaders are created lazily
    • Introduced CatalogueCompiler::invalidateCache()
    • Simplified default locale resolution (LocaleResolver\DefaultLocale is dropped), introduced Translator::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 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 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 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 v2.0.2

    • Bump dependency on Symfony to 2.5
  • v2.0.1 v2.0.1

    • Fixed composer dependencies
  • v0.10.3 v0.10.3

    • Added method Translator::domain() that returns PrefixedTranslator
    • Fixed compatibility with Nette
  • v1.2.1 v1.2.1

    • SessionResolver requires IResponse instead of Response
  • v2.0.0 v2.0.0

    • 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 v1.2.0

    • 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 v1.1.2

    • 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 v0.10.2

    • 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 v1.1.1

    • 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 v0.10.1

    • 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 v1.1

    • 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', ...]
  • v1.0 v1.0

    First tagged release dependent on Nette 2.1-dev

  • v0.10.0 v0.10.0

    • 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', ...]
  • v0.9.7 v0.9.7

    Mainly fixed impossibility to register the extension under different name than "translation", and improved compatibility with Nette.

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com