Skip to content

Fix zh-Hant locale fallback#846

Open
qaijuang wants to merge 2 commits intomicrosoft:mainfrom
qaijuang:zh-hant-locale-fallback
Open

Fix zh-Hant locale fallback#846
qaijuang wants to merge 2 commits intomicrosoft:mainfrom
qaijuang:zh-hant-locale-fallback

Conversation

@qaijuang
Copy link
Copy Markdown

@qaijuang qaijuang commented May 2, 2026

Region-specific Chinese locales like zh-TW were falling through to the broad zh alias, which defaults to zh-Hans.

This PR adds explicit Chinese region aliases so zh-TW, zh-HK, and zh-MO select zh-Hant, while zh-CN and zh-SG continue to select zh-Hans.

Fixes #832

@qaijuang
Copy link
Copy Markdown
Author

qaijuang commented May 2, 2026

@microsoft-github-policy-service agree

@qaijuang qaijuang force-pushed the zh-hant-locale-fallback branch from 43a5053 to 5e6ec05 Compare May 2, 2026 09:11
@qaijuang qaijuang marked this pull request as ready for review May 2, 2026 09:13
@qaijuang
Copy link
Copy Markdown
Author

qaijuang commented May 2, 2026

cc @petercpg

Copy link
Copy Markdown
Member

@lhecker lhecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the aliases! I'll wait for petercpg's opinion for a bit, in case he responds.

@lhecker lhecker requested a review from DHowett May 4, 2026 15:11
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.0] Incorrect locale fallback to zh-Hans on zh-Hant systems

2 participants