mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 21:34:00 +01:00
fix: locating i18n files error (#119)
This commit is contained in:
parent
c958165769
commit
6439404f5b
|
@ -20,6 +20,9 @@ i18n
|
||||||
.use(LanguageDetector)
|
.use(LanguageDetector)
|
||||||
.use(initReactI18next)
|
.use(initReactI18next)
|
||||||
.init({
|
.init({
|
||||||
|
backend: {
|
||||||
|
loadPath: 'locales/{{lng}}/{{ns}}.json',
|
||||||
|
},
|
||||||
fallbackLng: {
|
fallbackLng: {
|
||||||
default: ['en'],
|
default: ['en'],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue