mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-04 04:42:09 +08:00
处理i18n警告
This commit is contained in:
parent
139d81e5a9
commit
d4753f7c8a
@ -25,6 +25,7 @@ export const init = (lang = 'zh_cn') => {
|
|||||||
return i18n
|
return i18n
|
||||||
.use(initReactI18next) // passes i18n down to react-i18next
|
.use(initReactI18next) // passes i18n down to react-i18next
|
||||||
.init({
|
.init({
|
||||||
|
compatibilityJSON: 'v3', // https://www.i18next.com/misc/json-format
|
||||||
// debug: true,
|
// debug: true,
|
||||||
resources,
|
resources,
|
||||||
lng: lang,
|
lng: lang,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user