i18n Fallback to English for null characters

This commit is contained in:
SiriusXT 2024-09-11 15:17:21 +08:00
parent 7a11f9aaff
commit 447cf60afb

View File

@ -13,7 +13,8 @@ export async function initLocale() {
fallbackLng: "en",
backend: {
loadPath: `${window.glob.assetPath}/translations/{{lng}}/{{ns}}.json`
}
},
returnEmptyString: false
});
}