Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rename zh_hans to zh_CN #2058

Merged
merged 1 commit into from
Oct 21, 2024
Merged

fix: rename zh_hans to zh_CN #2058

merged 1 commit into from
Oct 21, 2024

Conversation

birtles
Copy link
Member

@birtles birtles commented Oct 21, 2024

Both Chrome and Safari seem only to recognize zh_CN and in my testing
zh_CN works in Firefox too so let's use that.

Fixes #2051.

Chrome onlys seems to recognize zh_CN and in my testing zh_CN works in
Firefox too so let's use that.

Safari doesn't seem to handle subtags correctly so this still won't work
there. See:

- https://forums.developer.apple.com/forums/thread/762697
- adobe/helix-sidekick-extension#721

Fixes #2051 for Chrome at least.
@birtles birtles merged commit e74f0c1 into main Oct 21, 2024
2 checks passed
@birtles birtles deleted the fix-chinese-locale branch October 21, 2024 02:54
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.

zh_hans locale not working
1 participant