Bug 1122785
Summary: | [ALL_LANG] [Horizon] "Current Project" is unlocalized | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Yuko Katabami <ykatabam> | ||||
Component: | python-django-horizon | Assignee: | Julie Pichon <jpichon> | ||||
Status: | CLOSED ERRATA | QA Contact: | Ami Jeain <ajeain> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 5.0 (RHEL 6) | CC: | aberezin, aortega, athomas, jpichon, mrunge, yeylon | ||||
Target Milestone: | z3 | Keywords: | Triaged, ZStream | ||||
Target Release: | 5.0 (RHEL 7) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | python-django-horizon-2014.1.3-2.el7ost | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-12-02 15:13:31 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Just realized that this is applicable to all languages. Changed the summary accordingly. Just checked the upstream version of Horizon Icehouse and found that "Current Project" label is no longer applied to the drop down menu to select a project. It is located at the top left of the screen. In Havana, it used to be on the left panel, and had "Current Project" label. You are correct, it looks like the "Current Project" string was removed with the switch to the new navigation/style so it's not available in the upstream po files anymore. I wonder if we could work around this with a small downstream patch that contains the extra translation(s) we need. I need to check at what stage the mo files are compiled to see if that would be feasible. Investigating with Matthias different ways to approach storing additional downstream strings. There's a few options: - Carry a patch (possibly after rebuilding the catalogue to include our strings first) + recompile the messages catalogue downstream, - Have a separate catalogue for downstream strings + recompile the messages catalogues downstream (this would be ideal), - For this specific bug, since it's so small and while looking for a more comprehensive solution, we could possibly tweak the wording to match upstream so the existing translations get picked up. Storing additional message catalogues under the /theme/ app directory with only our downstream strings appears to be working fine, which is great. We'll need to add an extra step in the build process to make sure the strings are compiled correctly, something along the lines of: $ cd /usr/share/openstack-dashboard/openstack_dashboard/dashboards/theme $ django-admin compilemessages (Calling it from the openstack_dashboard top-level directory doesn't work.) I don't see any easy way yet to find out which strings are downstream only though, so we will have to rely on the manual efforts of the localisation/internationalisation team a little bit longer. Trying to build the messages catalogue from the theme directory is misleading, because we have a lot of duplicate strings from the horizon message catalogue that are actually translated already that show up in there too. How to test: ------------ 1. Log in to the dashboard 2. Go to Settings and change the language to "Japanese" 3. Go back to the overview: on the top bar toward the right, "Current project" should be displayed correctly in Japanese (現在のプロジェクト) just before the project name. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-1929.html |
Created attachment 920439 [details] unlocalized dropdown list "Current Project" Description of problem: Drop-down list "Current Project" appears unlocalized in UI. Version-Release number of selected component (if applicable): 5.0 How reproducible: 100% Steps to Reproduce: 1.Login to dashboard 2.Change the localze setting to Japanese 3.Check the "Current Project" dropdown list on the top right. Actual results: Unlocalized Expected results: Should be localized to "現在のプロジェクト" Additional info: Screenshot attached. Confirmed on the upstream UI localization project that this string has been translated.