next-i18next: setting defaultLanguage to something other than 'en' breaks page after Update to 0.23.0
Hi, after updating to Version 0.23.0 I had to disable serverLanguageDetection
. If it is enabled, you get the following error when visiting the page:
TypeError: this.language.toLowerCase is not a function at I18n.loadResources (xxx/node_modules/i18next/dist/commonjs/i18next.js:209:42)
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (16 by maintainers)
7be2b97
@isaachinman Again, sorry for the confusion, but I believe that what @johnrackles is experiencing is due to what #139 will fix. I just didn’t know, once we merged #139, if another bug would surface. I don’t think that @johnrackles is doing anything wrong, so it’s not a case of user error.
@johnrackles Thank you for raising this issue, and please bear with us. In the meantime, you should be able to pin to v0.22.0 and get things working. I apologise for the inconvenience.