[dev][horizon][docs][i18n]Horizon Taiwanese locale issue
Hi, There is an issue with Taiwanese locale at least in Horizon. It would be good to get a feedback from i18n team according to OpenStack docs too. Speaking about Horizon, Chinese locales were renamed in Django 1.7 [1]. Zh-cn became zh-Hans, and zh-tw became zh-Hant. Old names were marked as deprecated and finally removed in Django 1.11. Current supported Django versions are 1.11 and 2.0 [2] It is not an issue for Chinese because django locale middleware does silent fallback from zh-cn to zh-Hans. But for Taiwanese it treats zh-tw as some unknown variant of zh-* and also does fallback to default zh-cn, which is wrong. Reported bug: https://bugs.launchpad.net/horizon/+bug/1830886 Proposed solution is to migrate to new locale names everywhere in Horizon. Here are proposed steps to fix this issue: 1. Zanata jobs reconfiguration 2. Django-related backend stuff. Biggest, but easiest part because it is well documented 3. AngularJS. Quite old version is used, so we can hit some well forgotten issues. Also, testing is complicated. 4. Horizon.js components. It is the smallest part Other question will be thorougful testing of the bugfix. [1] https://docs.djangoproject.com/en/dev/releases/1.7/#language-codes-zh-cn-zh-... [2] https://docs.openstack.org/horizon/latest/install/system-requirements.html
Hello Taiwan language coordinators, I am reaching to all of you who are listed as Taiwan language coordinators on translate.openstack.org , since I am not sure who are still active or not. Since I don't have enough knowledge on such language issues, it would be very great if you share your feedback on this issue through openstack-i18n@lists.openstack.org mailing list. Also, please don't hesitate to share anything on language issues - we are still in the same I18n team :) I am copying to Gene who I had great conversation with Taiwan language for OpenStack survey translation around two years ago. I am now I18n PTL this cycle, and I would like to have more conversation with language teams. With many thanks, /Ian -------- Original Message -------- Subject: [OpenStack-I18n] [dev][horizon][docs][i18n]Horizon Taiwanese locale issue Date: Wed, 29 May 2019 17:29:20 +0300 From: Vadym Markov <vmarkov@mirantis.com> To: openstack-discuss@lists.openstack.org, openstack-i18n@lists.openstack.org Hi, There is an issue with Taiwanese locale at least in Horizon. It would be good to get a feedback from i18n team according to OpenStack docs too. Speaking about Horizon, Chinese locales were renamed in Django 1.7 [1]. Zh-cn became zh-Hans, and zh-tw became zh-Hant. Old names were marked as deprecated and finally removed in Django 1.11. Current supported Django versions are 1.11 and 2.0 [2] It is not an issue for Chinese because django locale middleware does silent fallback from zh-cn to zh-Hans. But for Taiwanese it treats zh-tw as some unknown variant of zh-* and also does fallback to default zh-cn, which is wrong. Reported bug: https://bugs.launchpad.net/horizon/+bug/1830886 Proposed solution is to migrate to new locale names everywhere in Horizon. Here are proposed steps to fix this issue: 1. Zanata jobs reconfiguration 2. Django-related backend stuff. Biggest, but easiest part because it is well documented 3. AngularJS. Quite old version is used, so we can hit some well forgotten issues. Also, testing is complicated. 4. Horizon.js components. It is the smallest part Other question will be thorougful testing of the bugfix. [1] https://docs.djangoproject.com/en/dev/releases/1.7/#language-codes-zh-cn-zh-... [2] https://docs.openstack.org/horizon/latest/install/system-requirements.html
On 29/05/2019 16.29, Vadym Markov wrote:
Hi,
There is an issue with Taiwanese locale at least in Horizon. It would be good to get a feedback from i18n team according to OpenStack docs too.
Speaking about Horizon, Chinese locales were renamed in Django 1.7 [1]. Zh-cn became zh-Hans, and zh-tw became zh-Hant. Old names were marked as deprecated and finally removed in Django 1.11. Current supported Django versions are 1.11 and 2.0 [2]
What does this mean for stable branches? Is that a change only for master (= train) or also for rocky and stein (those two are the only branches under active translation)? What is the situation about documents that are translated via sphinx? Is there a similar change needed?
It is not an issue for Chinese because django locale middleware does silent fallback from zh-cn to zh-Hans. But for Taiwanese it treats zh-tw as some unknown variant of zh-* and also does fallback to default zh-cn, which is wrong.
Reported bug: https://bugs.launchpad.net/horizon/+bug/1830886
Proposed solution is to migrate to new locale names everywhere in Horizon. Here are proposed steps to fix this issue:
1.
Zanata jobs reconfiguration
2.
Django-related backend stuff. Biggest, but easiest part because it is well documented
3.
AngularJS. Quite old version is used, so we can hit some well forgotten issues. Also, testing is complicated.
4.
Horizon.js components. It is the smallest part
Other question will be thorougful testing of the bugfix.
[1] https://docs.djangoproject.com/en/dev/releases/1.7/#language-codes-zh-cn-zh-...
[2] https://docs.openstack.org/horizon/latest/install/system-requirements.html
Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter: jaegerandi SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
participants (3)
-
Andreas Jaeger
-
Ian Y. Choi
-
Vadym Markov