chore: saveMissing

This commit is contained in:
Ibrahima G. Coulibaly
2025-07-14 16:06:29 +01:00
parent 9d51b64c07
commit a6a2c1f3a1
3 changed files with 11 additions and 6 deletions

View File

@@ -42,11 +42,14 @@ export type FullI18nKey = {
i18n.use(initReactI18next).init({
lng: 'en',
fallbackLng: 'en',
debug: useLocize,
backend: useLocize
? locizeOptions
: {
loadPath: '/locales/{{lng}}/{{ns}}.json'
}
},
saveMissing: useLocize,
updateMissing: useLocize
});
export default i18n;