Sourced from i18next-browser-languagedetector's changelog.
8.2.4
- fix:
lookupFromSubdomainIndexcounts hostname labels again, so with1,dev.en.example.comis detected asen. Since 6.1.5 the index picked a regex group instead, and any index other than0returned a part of the domain (en.exampl,example.com). Index0(the default) works as before. Thanks@​lprnmns329