mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Remove browser language detector, only configurable through settings now
This commit is contained in:
parent
37e10fb40e
commit
b12649bd2e
1 changed files with 0 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
|||
import i18n from "i18next";
|
||||
import LanguageDetector from "i18next-browser-languagedetector";
|
||||
import { initReactI18next } from "react-i18next";
|
||||
|
||||
// Languages
|
||||
|
@ -36,9 +35,6 @@ const locales = {
|
|||
},
|
||||
};
|
||||
i18n
|
||||
// detect user language
|
||||
// learn more: https://github.com/i18next/i18next-browser-languageDetector
|
||||
.use(LanguageDetector)
|
||||
// pass the i18n instance to react-i18next.
|
||||
.use(initReactI18next)
|
||||
// init i18next
|
||||
|
|
Loading…
Reference in a new issue