Skip to content

docs: keep hero h1 always in English, never translated#85

Merged
unbug merged 2 commits into
mainfrom
copilot/add-multilingual-support
May 13, 2026
Merged

docs: keep hero h1 always in English, never translated#85
unbug merged 2 commits into
mainfrom
copilot/add-multilingual-support

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 13, 2026

The hero <h1> title was being swapped to Chinese when the user switched to ZH locale. Product name/tagline should stay English regardless of language selection.

Changes

  • Removed data-i18n-html="heroH1" from the <h1> — now static, untouched by the i18n runtime
  • Dropped heroH1 key from both en and zh translation objects

@unbug unbug marked this pull request as ready for review May 13, 2026 03:00
@unbug unbug merged commit cc07733 into main May 13, 2026
1 check passed
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.

2 participants