[OpenStack-I18n] Fwd: [dev][horizon][docs][i18n]Horizon Taiwanese locale issue

Ian Y. Choi ianyrchoi at gmail.com
Wed May 29 15:02:07 UTC 2019

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 at 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,

-------- 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 at mirantis.com>
To: 	openstack-discuss at lists.openstack.org, 
openstack-i18n at lists.openstack.org


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:


    Zanata jobs reconfiguration


    Django-related backend stuff. Biggest, but easiest part because it
    is well documented


    AngularJS. Quite old version is used, so we can hit some well
    forgotten issues. Also, testing is complicated.


    Horizon.js components. It is the smallest part

Other question will be thorougful testing of the bugfix.



-------------- next part --------------
OpenStack-I18n mailing list
OpenStack-I18n at lists.openstack.org

More information about the OpenStack-I18n mailing list