Bug 888900
Summary: | Horizon: login page is not localized | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Yaniv Kaul <ykaul> |
Component: | python-django-openstack-auth | Assignee: | Matthias Runge <mrunge> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yaniv Kaul <ykaul> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0 (Folsom) | CC: | aortega, jkt, jpichon, mrunge |
Target Milestone: | --- | Keywords: | i18n, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-05 09:35:52 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: |
Description
Yaniv Kaul
2012-12-19 18:19:27 UTC
Localization of login page is handled by browser configuration. Currently, python-django-openstack-auth has locale files for the following languages: english, spanish, japanese and taiwanese. If we want more localizations, we should provide them upstream: https://github.com/gabrielhurley/django_openstack_auth /usr/lib/python2.7/site-packages/openstack_auth/locale/en/LC_MESSAGES/django.mo /usr/lib/python2.7/site-packages/openstack_auth/locale/es/LC_MESSAGES/django.mo /usr/lib/python2.7/site-packages/openstack_auth/locale/ja/LC_MESSAGES/django.mo /usr/lib/python2.7/site-packages/openstack_auth/locale/zh_TW/LC_MESSAGES/django.mo especially, we need the following strings to be localizesed: #: backend.py:28 msgid "The authentication token issued by the Identity service has expired." msgstr "" #: backend.py:69 msgid "Invalid user name or password." msgstr "" #: backend.py:72 msgid "An error occurred authenticating. Please try again later." msgstr "" #: backend.py:84 msgid "Unable to retrieve authorized projects." msgstr "" #: backend.py:89 msgid "You are not authorized for any projects." msgstr "" #: backend.py:103 msgid "Unable to authenticate to any available projects." msgstr "" #: forms.py:20 msgid "Region" msgstr "" #: forms.py:21 msgid "User Name" msgstr "" #: forms.py:22 msgid "Password" msgstr "" Requested translation to the translation team today. As mentioned by Matthias, the page localisation works and is set according to the browser locale. What we are lacking is additional translations (the only languages available are English, Spanish, Japanese, Chinese (Taiwan)). To check it works, in e.g. Firefox: change the Display language to Spanish in the Preferences, then log out of Horizon. Reload the login page. (Note: because of bug 907784, you may have to restart httpd to see the fully translated page.) |