Instance status values in CSV summary are not translated

Bug #1496953 reported by Tony Dunbar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Tony Dunbar

Bug Description

I prepared my environment using the pseudo translation tool to use German.

When I navigate to the Admin->System->Overview and click on the "Download CSV Summary" button, the instance status/state values ("Active", "Stopped") in the generated csv file are not translated into the locale I'm using. However when I navigate to the instance the Status values are translated.

You can see in the attached screen shot the translated values from the instance page and the non-translated values from the csv file.

Tags: i18n
Revision history for this message
Tony Dunbar (adunbar) wrote :
Changed in horizon:
assignee: nobody → Tony Dunbar (adunbar)
Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :
Changed in horizon:
milestone: none → liberty-rc1
status: New → Fix Committed
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Revision history for this message
Doug Fish (drfish) wrote :

This got prematurely changed to fixed committed/fixed released. This was not addressed by https://review.openstack.org/#/c/223773/

The difference is that https://review.openstack.org/#/c/223773/ is about making *any* text in *.csv files is translatable. This bug is about a couple of extra strings that remain untransalatable even after resources are extracted out of csv files in general.

Changed in horizon:
status: Fix Released → In Progress
Doug Fish (drfish)
Changed in horizon:
milestone: liberty-rc1 → mitaka-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/238186

Changed in horizon:
assignee: Tony Dunbar (adunbar) → Doug Fish (drfish)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/238186
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=c0561280dee3ee997c1693d97f1642cc729e2a37
Submitter: Jenkins
Branch: master

commit c0561280dee3ee997c1693d97f1642cc729e2a37
Author: Tony Dunbar <email address hidden>
Date: Tue Oct 20 16:05:43 2015 -0500

    Made instance state values in the CSV summary translatable

    The instance state values ("Active", "Stopped" and others)
    captured in the CSV Summary from the Project Overview page
    were not translatable. Two changes were needed. Some of the
    possible values from Nova were missing from the STATUS_DISPLAY_CHOICES
    tuple and needed to be added. Then the state values
    needed to be translated into the proper locale when the CSV was
    built. It should be noted that I used the same style Lucas Palm
    proposed in change 226579 (launchpad 1490031) for the second change.

    Change-Id: Ib52d4c1fade22199390c6a568fc8f1101784a88d
    Closes-Bug: #1496953

Changed in horizon:
status: In Progress → Fix Committed
Tony Dunbar (adunbar)
Changed in horizon:
assignee: Doug Fish (drfish) → Tony Dunbar (adunbar)
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 9.0.0.0b1

This issue was fixed in the openstack/horizon 9.0.0.0b1 development milestone.

Changed in horizon:
status: Fix Committed → Fix Released
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.