Skip to content

Add English locale and i18n support for popup UI#1

Open
adc103 wants to merge 1 commit into
ctala:mainfrom
adc103:feature/i18n-english-spanish
Open

Add English locale and i18n support for popup UI#1
adc103 wants to merge 1 commit into
ctala:mainfrom
adc103:feature/i18n-english-spanish

Conversation

@adc103

@adc103 adc103 commented Jun 20, 2026

Copy link
Copy Markdown

Adds English support to the popup UI via chrome.i18n, alongside the existing Spanish. Popup language now follows the browser's UI locale (standard Chrome extension i18n behavior) rather than a manual switcher — happy to add an in-popup toggle if preferred. Bumped to 1.3.0 since this adds a feature rather than fixing a bug.

The popup UI was hardcoded in Spanish (popup.html, popup.js, and the
manifest description), with no way to view it in English.

- Add chrome.i18n support via _locales/en and _locales/es
- Replace hardcoded strings in popup.html with data-i18n attributes
- Replace hardcoded strings in popup.js with chrome.i18n.getMessage() calls
- Add default_locale to manifest.json and switch name/description to
  __MSG_*__ placeholders
- Bump version to 1.3.0 and update changelog

Popup language now follows the browser's UI language, falling back to
English if the locale isn't available. No functional changes.
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