Files
camoufox/scripts
Jake WriterandClaude Opus 5 f369daa7f8 fix(locale): localize browser strings with the spoofed locale; stop rewriting explicit locales
- 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>
2026-09-16 22:08:33 -06:00
..
2024-08-01 04:41:03 -05:00
2026-04-25 23:47:31 -04:00
2024-07-26 06:49:20 -05:00
2024-07-26 06:49:20 -05:00
2024-07-26 06:49:20 -05:00
2024-11-21 18:51:27 -06:00
2024-07-26 06:49:20 -05:00