-
Notifications
You must be signed in to change notification settings - Fork 156
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
react-intl-universal-extract not work for Chinese #165
Comments
Replace : src/util/constant.js for support Chinese keys
|
Yes, Chinese key isn't supported and not recommended. |
Thank you for your answer, but why not recommended? |
The json key is better to be English. |
//package.json
"intl:extract": "react-intl-universal-extract --cmd extract --source-path ./ --output-path ./lang/locales/zhCN.json --verbose",
In the zhCN.json file, the content cannot be extracted:
intl.get('没有找到该资源').defaultMessage('404 - 没有找到该资源')
so, I suspect react-intl-universal-extract does not support Chinese keys
The text was updated successfully, but these errors were encountered: