From 6753037278bb84e81cb85d98baf93cba885143a8 Mon Sep 17 00:00:00 2001 From: lleohao <12764126+lleohao@users.noreply.github.com> Date: Wed, 11 Sep 2024 03:13:24 +0000 Subject: [PATCH] fix: only load current language --- apps/client/src/i18n.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/client/src/i18n.ts b/apps/client/src/i18n.ts index 5bd75f42..7032a2e8 100644 --- a/apps/client/src/i18n.ts +++ b/apps/client/src/i18n.ts @@ -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