Red Hat Bugzilla – Bug 888900
Horizon: login page is not localized
Last modified: 2013-07-03 22:56:39 EDT
Description of problem:
If we do save the locale using a cookie, we should use it the next time the user access the login page.
Alternatively, we can use the browser's locale.
See also https://bugzilla.redhat.com/show_bug.cgi?id=838456
Version-Release number of selected component (if applicable):
Steps to Reproduce:
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:
especially, we need the following strings to be localizesed:
msgid "The authentication token issued by the Identity service has expired."
msgid "Invalid user name or password."
msgid "An error occurred authenticating. Please try again later."
msgid "Unable to retrieve authorized projects."
msgid "You are not authorized for any projects."
msgid "Unable to authenticate to any available projects."
msgid "User Name"
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.)