-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
zh-HK locale is resolved to "zh" instead of "zh-Hant-HK" #317
Comments
Please provide an example. |
It means zh-HK is interpreted as 'zh' instead of 'zh-Hant-HK'. However in intl.js, zh-HK is the same as zh-Hant-HK. |
zh-HK is not a valid locale, use zh-Hant-HK. |
longlho
added a commit
that referenced
this issue
Apr 27, 2020
…317) fix(@formatjs/intl-relativetimeformat): Use PartitionPattern abstract operation when parsing pattern so we're spec-compliant (pending tc39/proposal-intl-relative-time#114) fix(@formatjs/intl-listformat): Use PartitionPattern abstract operation when parsing pattern so we're compliant w/ latest version of spec
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In intl.js, "zh-HK" is equal to "zh-Hant-HK" which is traditional Chinese . However in react-intl, it is resolved to "zh" which is simplified Chinese.
The text was updated successfully, but these errors were encountered: