From 7ec5de190df0e612a024b01d88815beba5c658bf Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 31 Jul 2024 23:19:15 +0200 Subject: [PATCH] fix: Remove hard-coded language, allow changing --- src/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.js b/src/index.js index 93234b0..ab14281 100644 --- a/src/index.js +++ b/src/index.js @@ -7,13 +7,10 @@ import HttpApi from "i18next-http-backend"; ///////////////// async function initI18next() { - // We use() the backend and await it to load - // the translations from the network await i18next .use(HttpApi) .use(LanguageDetector) .init({ - lng: "en", supportedLngs: ["en", "de"], nonExplicitSupportedLngs: true, fallbackLng: "en",