Skip to content

Fix zh-Hant locale fallback#846

Open
qaijuang wants to merge 1 commit intomicrosoft:mainfrom
qaijuang:zh-hant-locale-fallback
Open

Fix zh-Hant locale fallback#846
qaijuang wants to merge 1 commit 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

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

1 participant