mirror of
https://github.com/daijro/camoufox.git
synced 2026-10-08 16:00:36 +00:00
- With locale="fr-FR", Intl/number/date went French but input.validationMessage
and XML parse errors stayed English, a mix no real Firefox produces. Official
language packs are now baked in as packaged locales (scripts/fetch-langpacks.py,
scripts/inject-locales.py, called by package.py, fetched on demand) and the
launcher selects the UI locale through intl.locale.requested. A langpack
add-on cannot do this: the parent pre-creates those string bundles first.
- locale-spoofing.patch overrode Language/Script/Region on every intl::Locale,
so new Intl.DisplayNames(['en'],{type:'region'}).of('DE') returned the spoofed
region's name and Intl.Locale('ja-Jpan-JP').minimize() returned the spoofed
tag. Only the OS/default locale is spoofed now.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>