1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Remove browser language detector, only configurable through settings now

This commit is contained in:
mrjvs 2023-05-22 19:26:57 +02:00
parent 37e10fb40e
commit b12649bd2e

View file

@ -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