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 + });