From ca4437f86a33091916ad388f0485aa98f0fe477d Mon Sep 17 00:00:00 2001 From: Isra Date: Fri, 5 Jan 2024 10:54:40 +0100 Subject: [PATCH] Fix language fallback --- src/setup/i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setup/i18n.ts b/src/setup/i18n.ts index ca263975..4c99433e 100644 --- a/src/setup/i18n.ts +++ b/src/setup/i18n.ts @@ -10,7 +10,7 @@ const resources = Object.fromEntries( Object.entries(locales).map((entry) => [entry[0], { translation: entry[1] }]), ); i18n.use(initReactI18next).init({ - fallbackLng: "en-US", + fallbackLng: "en", resources, interpolation: { escapeValue: false, // not needed for react as it escapes by default