Skip to content

feat(i18n): add Traditional Chinese (zh-TW) locale#796

Merged
cjpais merged 3 commits intocjpais:mainfrom
parkghost:feat/i18n-zh-tw
Feb 12, 2026
Merged

feat(i18n): add Traditional Chinese (zh-TW) locale#796
cjpais merged 3 commits intocjpais:mainfrom
parkghost:feat/i18n-zh-tw

Conversation

@parkghost
Copy link
Copy Markdown
Contributor

Summary

  • Add complete Traditional Chinese (zh-TW) translation for the entire UI
  • Fix locale detection to preserve full locale codes (e.g., zh-TW instead of truncating to zh)
  • Update language matching to try exact match first, then fall back to prefix match
  • Register zh-TW in language metadata with proper priority ordering

@cjpais
Copy link
Copy Markdown
Owner

cjpais commented Feb 12, 2026

you are awesome, I'm in Taiwan right now and was thinking this needed to happen!

@cjpais cjpais merged commit cc477a3 into cjpais:main Feb 12, 2026
4 checks passed
parkghost added a commit to parkghost/Handy that referenced this pull request Feb 25, 2026
…e is selected

The tray locale lookup truncated "zh-TW" to "zh", always hitting
Simplified Chinese. Now tries full locale first, then language prefix,
then English.

Follow-up fix for cjpais#796.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
parkghost added a commit to parkghost/Handy that referenced this pull request Feb 25, 2026
…e is selected

The tray locale lookup truncated "zh-TW" to "zh", always hitting
Simplified Chinese. Now tries full locale first, then language prefix,
then English.

Follow-up fix for cjpais#796.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
cjpais added a commit that referenced this pull request Mar 1, 2026
…e is selected (#901)

The tray locale lookup truncated "zh-TW" to "zh", always hitting
Simplified Chinese. Now tries full locale first, then language prefix,
then English.

Follow-up fix for #796.

Co-authored-by: Claude Opus 4.6 <[email protected]>
Co-authored-by: CJ Pais <[email protected]>
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