public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* Language code changes over time: zh_CN -> zh_Hans
@ 2019-10-10 15:22 Jean-Baptiste Holcroft
  2019-10-10 16:25 ` Florian Weimer
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jean-Baptiste Holcroft @ 2019-10-10 15:22 UTC (permalink / raw)
  To: libc-alpha, libc-locales

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-12 13:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-10 15:22 Language code changes over time: zh_CN -> zh_Hans Jean-Baptiste Holcroft
2019-10-10 16:25 ` Florian Weimer
2019-10-11 20:27   ` Mike FABIAN
2019-10-10 20:53 ` Carlos O'Donell
2019-10-11 20:41 ` Mike FABIAN
2019-10-12  9:35   ` Jean-Baptiste
2019-10-12 13:52     ` Mike FABIAN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).