We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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_TW
The language name for Taiwanese (zh_TW) seems to be wrongly given as Chinese and also the regular locale creation doesnt work as expected:
Chinese
>>> Locale('zh_TW').get_language_name('en_US') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/anaconda3/envs/poetry/lib/python3.9/site-packages/babel/core.py", line 204, in __init__ raise UnknownLocaleError(identifier) babel.core.UnknownLocaleError: unknown locale 'zh_TW' >>> Locale.parse('zh_TW') Locale('zh', territory='TW', script='Hant') >>> Locale.parse('zh_TW').get_language_name('en_US') Chinese
As regular "Chinese" I'd classify simplified Han script (Mandarin) while Taiwanese uses traditional Han script.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The language name for Taiwanese (
zh_TW
) seems to be wrongly given asChinese
and also the regular locale creation doesnt work as expected:As regular "Chinese" I'd classify simplified Han script (Mandarin) while Taiwanese uses traditional Han script.
The text was updated successfully, but these errors were encountered: