From 0374370b0c230cc53c74d71f21d066c35f230906 Mon Sep 17 00:00:00 2001 From: Stavros Date: Wed, 17 Dec 2025 23:36:01 +0200 Subject: [PATCH] fix: fix translations not loading --- frontend/src/lib/i18n/i18n.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/lib/i18n/i18n.ts b/frontend/src/lib/i18n/i18n.ts index 2810949..a14fdbf 100644 --- a/frontend/src/lib/i18n/i18n.ts +++ b/frontend/src/lib/i18n/i18n.ts @@ -2,7 +2,6 @@ import i18n from "i18next"; import { initReactI18next } from "react-i18next"; import LanguageDetector from "i18next-browser-languagedetector"; import resourcesToBackend from "i18next-resources-to-backend"; -import { languages } from "./locales"; i18n .use(LanguageDetector) @@ -16,7 +15,6 @@ i18n fallbackLng: "en", debug: import.meta.env.MODE === "development", nonExplicitSupportedLngs: true, - supportedLngs: Object.keys(languages), load: "currentOnly", detection: { lookupLocalStorage: "tinyauth-lang",