mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-24 08:29:32 +02:00
chore: saveMissing
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user