Skip to content

fix: add zh to zh_CN mapping #17

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

Merged
merged 1 commit into from
Mar 21, 2025
Merged

fix: add zh to zh_CN mapping #17

merged 1 commit into from
Mar 21, 2025

Conversation

GeekyEggo
Copy link
Owner

@GeekyEggo GeekyEggo commented Mar 20, 2025

With the local system's language set to Chinese (Simplified), the window.navigator.language is zh. To accommodate for no region being specified as part of the language, this PR maps zh to zh_CN.
image

@GeekyEggo GeekyEggo requested a review from ChekTek March 20, 2025 13:12
@GeekyEggo GeekyEggo merged commit b8f9fbd into main Mar 21, 2025
3 checks passed
@GeekyEggo GeekyEggo deleted the zh branch March 21, 2025 13:01
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