Unable to find Simplified Chinese in the language list

Bug #1710063 reported by Yuko Katabami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Undecided
Unassigned

Bug Description

In Horizon UI deployed from the latest code in master branch does not seem to include Simplified Chinese in the language list on User Settings page.

Please see the attached screenshot.

Revision history for this message
Yuko Katabami (ykatabam) wrote :
Revision history for this message
Ian Y. Choi (ianychoi) wrote :

Please see my brief analysis and hope that it will be fixed soon.

- I have checked from https://i18n.external.otc.telekomcloud.com that there are zh-hans and zh-hant but there are no zh-CN and zh-TW. Furthermore, even I change to zh-hans and zh-hant languages, I can see only English strings but cannot see any translated strings.

- When I see https://github.com/django/django/blob/master/django/conf/locale/__init__.py#L533 , zh-cn and zh-tw seem to be fallbacked to zh-hans and zh-hant respectivelly.

- Zanata definitely uses zh-CN and zh-TW language codes: https://translate.openstack.org/iteration/view/horizon/master/languages/zh-CN .

- In my opinion, https://review.openstack.org/#/c/450126/1/openstack_dashboard/dashboards/settings/user/forms.py@53 code would not consider "fallback" items.

Revision history for this message
Ian Y. Choi (ianychoi) wrote :
Revision history for this message
Yuko Katabami (ykatabam) wrote :

Thank you very much @ianychoi.

Revision history for this message
Akihiro Motoki (amotoki) wrote :

The problem was fixed as bug 1710131 (the logic to auto-generate the language list has been reverted). Let's mark this a duplicate of bug 1710131.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.