I18n: strings in some table columns (e.g., Status, Task, Powerstate) are not translated
Bug #1224329 reported by
Ying Chun Guo
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Wishlist
|
Peng Wu | ||
openstack i18n |
Fix Released
|
Medium
|
Peng Wu |
Bug Description
There are many tables in Horizon. I noticed some columns are untranslated. For example, in the table of instances, strings in the column of "Status", "Task", and "Power State" are not translated. In the table of volumes, strings in the column of "Status" are not translated. In the table of images, strings in the column of "Type", "Status", "Public", and "Protected" are not translated.
Some of these strings are getting from database as code, for example "Type" and "Status". Some of these strings are "Yes" and "No". I think they should also be enabled i18n too.
Changed in horizon: | |
importance: | Undecided → Wishlist |
summary: |
- I18n: strings in some table columns are not translated + I18n: strings in some table columns (e.g., Status, Task, Powerstate) are + not translated |
Changed in openstack-i18n: | |
assignee: | nobody → Peng Wu (alexepico) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in horizon: | |
assignee: | nobody → Peng Wu (alexepico) |
status: | Confirmed → In Progress |
Changed in openstack-i18n: | |
status: | Confirmed → Fix Committed |
Changed in horizon: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in openstack-i18n: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
It's difficult since we're getting this data back from Nova/Glance etc and as far as I know, there is currently no way (?) to request the strings to be returned in a specific language.
We could duplicate the list (like we do e.g. when messages returned are unclear [0] - I suddenly notice that these strings are not marked as translatable!) and do a 1-on-1 mapping to have translatable strings but it doesn't seem very DRY, nor does it scale well as new messages will get added to the other services.
Currently the yes/no strings in Public/Protected for Images are correctly showing in the target language for me (using Japanese to test).
[0] https:/ /github. com/openstack/ horizon/ blob/master/ openstack_ dashboard/ dashboards/ project/ instances/ tables. py#L506