fix: do not load en-US locale file

This commit is contained in:
Tristan Yang
2022-11-29 19:22:59 +08:00
parent 565ad6d0b5
commit 6a4660d468
+1
View File
@@ -49,6 +49,7 @@ i18n
.init({
ns: ["common", "chat", "member", "setting", "fav", "file", "welcome", "auth"],
defaultNS,
load: "languageOnly",
// lng: "en",
fallbackLng: 'en',
fallbackNS: "common",