Skip to content

fix: default locale to English#17

Merged
jevin98 merged 1 commit into
mainfrom
codex/default-english-locale
May 15, 2026
Merged

fix: default locale to English#17
jevin98 merged 1 commit into
mainfrom
codex/default-english-locale

Conversation

@jevin98

@jevin98 jevin98 commented May 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Default the DevTools panel language to English when the user has not selected a language.
  • Keep using the saved locale when the user manually changes the language.
  • Add unit coverage for language initialization.

Why

Previously, initialization fell back to browser.i18n.getUILanguage(), so a Chinese browser UI automatically selected Simplified Chinese even when the user had not chosen a language.

Verification

  • pnpm exec eslint . --fix
  • pnpm compile
  • pnpm test:unit

@jevin98 jevin98 merged commit affb647 into main May 15, 2026
1 check passed
@jevin98 jevin98 deleted the codex/default-english-locale branch May 15, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant