i18next v19.5.1 Release NotesRelease Date: 2020-06-21 // 18 days ago
- 🛠 getBestMatchFromCodes: use fallbackLng if nothing found, fixes #1470 1471
Previous changes from v19.5.0
language detectors can return an array of languages and let i18next figure out best match
📇 rename option whitelist to supportedLngs
📇 rename option nonExpicitWhitelist to nonExplicitSupportedLngs
📇 rename function languageUtils.isWhitelisted to languageUtils.isSupportedCode
🗄 This changes are made with temporal backwards compatiblity and will warn your for deprecated usage of old terms to give users and plugin providers some time to adapt their code base.
🚀 The temporal backwards compatiblity will be removed in a follow up major release.
Learn more about why this change was made here.