From ba1d1a04312b46c470a93668ba8a722cc6984c0e Mon Sep 17 00:00:00 2001 From: webadderall <131426131+webadderall@users.noreply.github.com> Date: Mon, 16 Mar 2026 22:49:29 +1100 Subject: [PATCH] fix(i18n): default app language to English on first launch --- src/contexts/I18nContext.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/contexts/I18nContext.tsx b/src/contexts/I18nContext.tsx index 77670801..dda55641 100644 --- a/src/contexts/I18nContext.tsx +++ b/src/contexts/I18nContext.tsx @@ -123,7 +123,9 @@ function getInitialLocale(): AppLocale { return storedLocale } - return normalizeLocale(window.navigator.language) + // Product default must be English on first launch unless user explicitly + // selected another locale and we persisted it in localStorage. + return DEFAULT_LOCALE } function getMessageValue(source: unknown, key: string): string | undefined {