Sourced from i18next-browser-languagedetector's changelog.
8.2.3
- fix: the subdomain detector now detects language tags with script and region subtags, so
pt-BR.site.com,zh-Hans-CN.site.com,es-419.site.comandsr-Latn.site.comare detected aspt-BR,zh-Hans-CN,es-419andsr-Latn. The pattern only accepted 2 to 5 word characters, without hyphens. Other subdomains likestagingor preview deployment labels (myapp-git-branch-team.vercel.app) are still not taken for a language, and everything detected before is still detected. Thanks@​lprnmns328