fix: only load current language

This commit is contained in:
lleohao
2024-09-11 03:13:24 +00:00
parent 49900050f7
commit 6753037278

View File

@ -15,6 +15,7 @@ i18n
.init({
fallbackLng: "en-US",
debug: true,
load: 'currentOnly',
interpolation: {
escapeValue: false, // not needed for react as it escapes by default