Text in Usage.CSV not translated

Bug #1496080 reported by Tony Dunbar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
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 generated csv file contains strings which are not translated into the locale I'm using.

Doug Fish looked at the issue and found some resources aren't being added to the django pot file, likely because they are coming from csv versus html.

Tags: i18n
Revision history for this message
Tony Dunbar (adunbar) wrote :
Changed in horizon:
assignee: nobody → Tony Dunbar (adunbar)
Doug Fish (drfish)
Changed in horizon:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → liberty-rc1
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/223773

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit 114da86135d418fb31587ead65b7d07096c62637
Author: Tony Dunbar <email address hidden>
Date: Tue Sep 15 14:18:47 2015 -0500

    Added a django extract for .csv files

    The CSV files from the overview panels were mostly not
    translated when using the pseudo translation tool. We
    inspected the django.pot files and the messages from the CSV
    files were not present.

    This patch updates the babel-django config file to ensure that
    *.csv files are included for translation extraction.

    We tried to update the babel-django config file with one
    django extraction line which included both the html file
    descriptor and the csv file descriptor separated by a comma
    but testing showed this did not work properly. We could only
    get this to work with two separate extraction lines.

    Change-Id: I04b3a1f49c7c680a4f3dfdc336183749404973ec
    Closes-Bug: #1496080

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-rc1 → 8.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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