#23005: Improve zh-* language code handling
--------------------------------------+-------------------------------
Reporter: caxekis@… | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: master
Severity: Normal | Keywords: i18n, chinese, zh
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+-------------------------------
As per #18419, zh-cn and zh-tw are deprecated and one of the reason was
that "...Traditional Chinese is not used only by Taiwan (tw) but also Honk
Kong (hk), and Simplified Chinese is not only used in China (cn) but also
Singapore (sg) and Malaysia..." . However pull #1868
https://github.com/django/django/pull/1868 did not specify fallback for
those language variant.
I would say we should follow Mediawiki's configuration for chinese
language variants fallback (see
https://git.wikimedia.org/blob/mediawiki%2Fcore.git/e016f6aa9386f515398d07d25419650c1fb74bf6/languages%2Fclasses%2FLanguageZh.php#L104
line 104 ).
* zh-cn, zh-sg and zh-my fallback to zh-hans
* zh-hk, zh-mo and zh-tw fallback to zh-hant
--
Ticket URL: <https://code.djangoproject.com/ticket/23005>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/060.5b083113b2e856433258a41d3083dfe6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.