Replies: 1 comment 3 replies
-
Why does gettext still use Using country classifiers ( Traditional script is used in Taiwan, Hong Kong, and Macau, so using |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For Chinese translations, I have seen many applications use
zh_CN
andzh_TW
for like forever. Including Weblate.But a while ago, that seemed to have changed in Weblate, introducing
zh_Hans
andzh_Hant
. I know what they mean (language + script code), but I don't understand the switch, after the first two identifiers have worked for years with no issue. (Or did they? I'm not a Chinese speaker.)Why did the switch happen?
The reason I ask this is because this seems to introduce an error in Gettext PO files. Weblate inserts
zh_Hans
andzh_Hant
into theLanguage:
header of PO files but technically, this syntax does not seem to be allowed there: https://www.gnu.org/software/gettext/manual/html_node/Header-Entry.htmlBeta Was this translation helpful? Give feedback.
All reactions