From bda36efcb705371af7b1dbd841d49b3c19f9c81c Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Thu, 11 Jun 2026 12:30:01 +0000 Subject: [PATCH] fix: align i18n namespace loading --- frontend/src/i18n.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/i18n.ts b/frontend/src/i18n.ts index 2bc1e8e..1e1db70 100644 --- a/frontend/src/i18n.ts +++ b/frontend/src/i18n.ts @@ -9,6 +9,9 @@ i18n .use(initReactI18next) .init({ fallbackLng: 'en', + load: 'languageOnly', + ns: ['common'], + defaultNS: 'common', detection: { order: ['localStorage', 'navigator'], lookupLocalStorage: 'app_lang_', @@ -18,4 +21,4 @@ i18n loadPath: '/locales/{{lng}}/{{ns}}.json', }, interpolation: { escapeValue: false }, - }); \ No newline at end of file + });