fix: align i18n namespace loading

This commit is contained in:
Flatlogic Bot 2026-06-11 12:30:01 +00:00
parent 4b237149e8
commit bda36efcb7

View File

@ -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 },
});
});