From 87ade538da13973030221356b4cae5dd0d235351 Mon Sep 17 00:00:00 2001 From: Malin Date: Tue, 24 Feb 2026 09:56:56 +0100 Subject: [PATCH] fix: default to Spanish by removing navigator from language detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Browser navigator locale (en-US etc.) was winning over fallbackLng 'es'. Now only localStorage is checked — first-time visitors get Spanish, returning visitors get their saved preference from the language picker. Co-Authored-By: Claude Sonnet 4.6 --- src/i18n/i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/i18n.ts b/src/i18n/i18n.ts index edde73c..99bc73a 100644 --- a/src/i18n/i18n.ts +++ b/src/i18n/i18n.ts @@ -19,7 +19,7 @@ i18n.use(LanguageDetector) fallbackLng: 'es', debug: false, detection: { - order: ['localStorage', 'navigator', 'htmlTag'], + order: ['localStorage'], caches: ['localStorage'], lookupLocalStorage: 'paste-language', },