-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cannot switch between "zh-TW" and "zh-CN" #15
Comments
This seems like a pretty special case. Are there any other languages where changing the script code show change the country code. My thinking is that it is best left to the user to enter the code or else search by country or language name. For example typing China Manadarin or Taiwan Mandarin will give you a very short list to choose from. It also supports searching using the Chinese characters which may be the most common way to find the language anyway. |
I'm not sure if this makes a different, but you are able to switch country code by selecting a script that causes the country code to disappear, e.g.:
I'm not sure if that illustrates that this issue is enough of a special case to close it or if it shows that language codes are too easily lost. |
Punjabi is written in two different scripts that depend on the country. There are other, smaller languages in Asia that have this behaviour as well. So it might not be that common, but more common than a pretty special case. Did I understand the issue correctly? |
@devosb I suspect you're right that there are other cases like this. Though I'm not finding a comparable example with Punjabi to what's happening with zh-CN and zh-TW. You can test it out yourself with the Mui Language Picker Demo: http://mui-language-picker-demo.org.s3-website-us-east-1.amazonaws.com/ |
Similarly, if you start with "zh-TW" then try to change to "Script: Han (Simplified variant) - Hans", it will stay on "繁體中文 / Chinese (zh-TW)" rather than changing to "中文 / Chinese (zh-CN)".
The text was updated successfully, but these errors were encountered: