Fwd: Language code changes over time: zh_CN -> zh_Hans

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For your information, on Rafal's advice, I sent a question to glibc community about new language codes.

-------- Courriel original --------
Objet: Language code changes over time: zh_CN -> zh_Hans
Date: 2019-10-10 17:22
De: Jean-Baptiste Holcroft <jean-baptiste@xxxxxxxxxxx>
À: libc-alpha@xxxxxxxxxxxxxx, libc-locales@xxxxxxxxxxxxxx

Hi,

the Fedora community is migrating to the Weblate translation platform.
This translation platform uses zh_Hans, zh_Hant, zh_Hant_HK by default, instead of zh_CN, zh_TW and zh_HK.

If I understand correctly, we need to make sure the language code exists in glibc before deciding using the new code for Linux applications.

The issue is as follow: a translation platform can be used by many projects, not all using glibc, like Websites or mobile application who already are using the new code.

The web tells that the codes zh_CN, zh_TW, zh_HK are old codes and should be replaced by the new ones. Multiple sources tends to confirm this (and show that other actors already did the move), the most relevant ones are:
https://www.w3.org/TR/i18n-html-tech-lang/#h2_langvalues
http://www.rfc-editor.org/rfc/bcp/bcp47.txt

And the replacement rule is also in the CLDR:
https://github.com/unicode-org/cldr/blob/ed7854cb6209678739712854a2df1cac732be540/common/supplemental/supplementalMetadata.xml#L177


What is the support status of these new language codes in Glibc?
If not supported, can we imagine to have backward compatibility while upstream projects migrate to the new language code? I assume these are not the only language code renaming, what policy do you suggest concerning these?


Please do not hesitate to tell where this discussion should happen as this is my first contact with your community.


Thanks a lot for your help,
Jean-Baptiste
_______________________________________________
i18n mailing list -- i18n@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to i18n-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/i18n@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux