Skip to content

v2.2.0

Choose a tag to compare

@fprochazka fprochazka released this 09 May 17:56
· 183 commits to master since this release
  • 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