From 6713834d2cf29354cc629b483b03c8b180602426 Mon Sep 17 00:00:00 2001 From: sylvanding Date: Sun, 3 May 2026 23:52:46 +0800 Subject: [PATCH] fix: set English as default i18n locale for test consistency --- frontend/src/i18n/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/i18n/index.ts b/frontend/src/i18n/index.ts index bbe53c22..6befbadd 100644 --- a/frontend/src/i18n/index.ts +++ b/frontend/src/i18n/index.ts @@ -12,7 +12,8 @@ i18n zh: { translation: zh }, en: { translation: en }, }, - fallbackLng: 'zh', + fallbackLng: 'en', + lng: 'en', interpolation: { escapeValue: false }, detection: { order: ['localStorage', 'navigator'],