From 16445109818d1fc00c4a3f5f9eef067be8dfe312 Mon Sep 17 00:00:00 2001 From: lotmek Date: Thu, 11 Jul 2024 17:29:08 -0400 Subject: [PATCH] fix: Modify fallbackLng default value --- src/config/i18n.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config/i18n.ts b/src/config/i18n.ts index 40ceaef..a2bbb47 100644 --- a/src/config/i18n.ts +++ b/src/config/i18n.ts @@ -8,7 +8,8 @@ i18n .use(LanguageDetector) .use(initReactI18next) .init({ - fallbackLng: 'en-US', + fallbackLng: 'en', + fallbackNS: 'US', debug: false, react: { useSuspense: false,