Commit Graph
4 Commits
Author SHA1 Message Date
Lauri Ojansivu 6a37160bc8 A saved language with '@' resolves: ca@valencia shows Valencian, not English.
The Valencian file is ca@valencia.i18n.json, but its registry tag is
ca-valencia, and resolveTag and the browser-language matcher only treated
'_' as '-'. A profile saved as the file's name - which is what
tests/playwright/specs/rules-blocks.e2e.js does - resolved to nothing and
the page stayed in English; that case failed on the commit before the
npm updates too. Both now compare through one normalizeLanguageTag
('_' and '@' as '-'), exported from imports/i18n/browserLanguage.js.
tests/browserLanguageFallback.test.cjs uses that function rather than its
own copy of the old rule, checks ca@valencia, and requires every locale
FILE name to resolve to a registry language.

Thanks to xet7 !
2026-10-22 06:34:36 +03:00
Lauri Ojansivu 9b49eb1c43 Document Docker outage handling and repair language test harness 2026-09-15 10:16:14 +03:00
Lauri Ojansivu 37ae64fa8c Complete Cantonese Wu and Macau browser language fallbacks
Resolve yue and wuu to their existing registered variants, and zh-MO to Traditional Chinese. Exercise actual startup autoruns, delayed profile preference, browser languagechange and absence of profile writes. Browser-language checks pass. Arabic Uzbek vocabulary/script remains a separate translation review.

Thanks to xet7 !
2026-09-13 18:37:41 +03:00
Lauri Ojansivu 1666a2012b Resolve ordered browser languages when no profile language is saved
Match all browser preferences using existing locale identifiers and explicit standard-to-legacy aliases, including Veps, Venetian, Latin American Spanish and Uzbek scripts. Prefer supported saved profile choices and fall back to English. Respond to browser languagechange without writing a profile choice. Checks cover all 245 locales and alias/error cases. Browser regression added and syntax-checked; execution pending.

Thanks to xet7 !
2026-09-13 18:35:42 +03:00