From b12649bd2e7c845024fc30260d46c6b33e97a2e1 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Mon, 22 May 2023 19:26:57 +0200 Subject: [PATCH] Remove browser language detector, only configurable through settings now --- src/setup/i18n.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/setup/i18n.ts b/src/setup/i18n.ts index 1c7d23fa..c5094776 100644 --- a/src/setup/i18n.ts +++ b/src/setup/i18n.ts @@ -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