Description of problem:
After changing Horizon's language, saving and logging out - language remains English.
Version-Release number of selected component (if applicable): RHOS15
Steps to Reproduce:
1.Enter Horizon --> User settings
2.Change language and save.
3.Log out and log in again
Language remains English in GUI, language in settings is still what you chose.
Language is changed to what you chose.
I was unable to reproduce this bug. What is the language you choose? How did you install Horizon?
Which browser are you using? Do you have any plugins, such as Privacy Badger, that could have prevented Horizon from setting a cookie?
This happened to me on Chrome.
Tried cleaning cache and history...still same issue.
I've tried several languages (Italian, Spanish, Chinese).
This was on RHOSP15...latest.
This bug was successfully recreated by Ido Ovadia on his own server and his version was a build from at least a week or two ago.
My versions are:
I tried with Polish, and now also with Italian, Spanish and Chinese, both with Chromium and Firefox, and they all work for me.
Do you have an instance where it doesn't work that I could test?
You can look in my server
I'm afraid that is in a private network to which I don't have access.
Are you sure? what does it say?
Were supposed to be on the same network.
I checked now; my build is 20190708.
I also checked Horizon...the bug still occurs.
Please refer to Ido Ovadia and ask for his instance if you can't login to mine (it happens to him too).
I get ERR_CONNECTION_REFUSED, I will talk with Ido.
Radomir, Please try with HTTPS.
# ls /usr/share/openstack-dashboard/openstack_dashboard/locale/
Looks like most of the translations are deleted from the container for some reason.
Since the problem only appears in the container, and packstack-installed horizon is not missing the translations, they are likely deleted by something in tripleo, so I'm changing the bug's component.
After discussion with Lon Hohberger and some experiments, we think that the cause is related to https://bugzilla.redhat.com/show_bug.cgi?id=156477
The solution seems to be installing glibc-langpacks-all
So the solution is this:
RUN mv /etc/rpm/macros.image-language-conf / \
&& dnf -y install openstack-dashboard \
&& mv /macros.image-language-conf /etc/rpm \
&& ... (rest of dockerfile)
I think this will either be moved to tripleo-common or kolla.
The /etc/rpm/macros.image-language.conf is provided by ubi8. DNF -> RPM loads this macro file and then prunes anything that isn't in there upon install.
Currently running RHOSP15 installation, will verify this bug ASAP.
1. Install, default is set to EN.
2. Change to, say, DE, click Save.
3. Now in Deutsche, change to English and click on Speichern.
Landing page is English but subtabs, like Compute->Images is in Deutsche.
It would seem like a cache issue. Please make sure browser does not use saved cache between language/theme settings changes.
Post discussion with Amit we are marking this blocker bug as verified and opening a cloned bug to address the low priority caching issue. The blocking issue has been resolved.
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.