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
IResourceLoaderand droppedLoadersInitializer+ Translator has less dependencies + loaders are created lazily - Introduced
CatalogueCompiler::invalidateCache() - Simplified default locale resolution (
LocaleResolver\DefaultLocaleis 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
Phraseobject
This release is for Nette ~2.3