revert change of i18n.js

This commit is contained in:
Nriver 2024-08-07 17:00:17 +08:00
parent 14bdd3819f
commit 8dbafa3cd9

View File

@ -5,9 +5,8 @@ await library_loader.requireLibrary(library_loader.I18NEXT);
await i18next await i18next
.use(i18nextHttpBackend) .use(i18nextHttpBackend)
.init({ .init({
lng: "cn", lng: "en",
// lng: "en", fallbackLng: "en",
// fallbackLng: "en",
debug: true, debug: true,
backend: { backend: {
loadPath: `/${window.glob.assetPath}/translations/{{lng}}/{{ns}}.json` loadPath: `/${window.glob.assetPath}/translations/{{lng}}/{{ns}}.json`