Update locales directory path
This commit is contained in:
parent
c5efe6b861
commit
7b7e570c10
|
|
@ -19,9 +19,9 @@ console.log("config.ts")
|
||||||
i18n.use(Backend).use(LanguageDetector).use(initReactI18next).init({
|
i18n.use(Backend).use(LanguageDetector).use(initReactI18next).init({
|
||||||
// resources,
|
// resources,
|
||||||
backend: {
|
backend: {
|
||||||
loadPath: '/locales/{{lng}}/{{ns}}.json',
|
loadPath: './locales/{{lng}}/{{ns}}.json',
|
||||||
addPath: '/locales/{{lng}}/{{ns}}.missing.json',
|
addPath: './locales/{{lng}}/{{ns}}.missing.json',
|
||||||
contextBridgeApiKey: "api"
|
contextBridgeApiKey: "api"
|
||||||
},
|
},
|
||||||
lng: 'en',
|
lng: 'en',
|
||||||
fallbackLng: 'en',
|
fallbackLng: 'en',
|
||||||
|
|
|
||||||
Reference in a new issue