The language of user settings doesn't work for the panels implemented in Angular

Bug #1956552 reported by Rikimaru Honjo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Undecided
Unassigned

Bug Description

[Issue]

I'm using OpenStack Xena.

I set the language as "Japanese" in "User settings". But the following panels were still the default language.

- Project -> Compute -> Images
- Project -> Compute -> Key Pairs
- Identity -> Roles

[Analysis]

In my analysis, the language of user settings is not applied to the panels implemented in Angular.

The panels implemented in Angular are listed as "ANGULAR_FEATURES" in default.py.

[Additional information]

This issue also occurred in OpenStack Ussuri.

summary: - The language of user settings doesn't work for some panels
+ The language of user settings doesn't work for the panels made of
+ Angular
summary: - The language of user settings doesn't work for the panels made of
- Angular
+ The language of user settings doesn't work for the panels implemented
+ in Angular
description: updated
description: updated
Revision history for this message
Vishal Manchanda (vishalmanchanda) wrote :

Hi, I have checked Images, keypair, and Roles panel with languages set to Japenese in master and stable/xena branch but am unable to reproduce it. Please see the attachments

Changed in horizon:
status: New → Incomplete
Revision history for this message
Rikimaru Honjo (honjo-rikimaru-c6) wrote :

Hi Vishal,

OK. I attach images after this. Please wait.

Revision history for this message
Rikimaru Honjo (honjo-rikimaru-c6) wrote (last edit ):

Hi Vishal,

I attached screenshots of my horizon.

And the these are additional inforamtion:

* My openstack environment was deployed with devstack.
* My horizon is commit "d69b1d414760eba09b19e432d67f82e91620d543".
* Other languages in user-settings also cause the same issue. I also put the espanol case in the attached file as an example.

Revision history for this message
Rikimaru Honjo (honjo-rikimaru-c6) wrote :

Hi Vishal,

Could you confirm my attachment file?

Revision history for this message
Vishal Manchanda (vishalmanchanda) wrote :

Hi Rikimaru Honjo, Could you tell me where you run horizon. I mean on Devstack apache port or you run at some other port using runserver command i.e.'tox -e runserver'?

Changed in horizon:
status: Incomplete → New
Revision history for this message
Rikimaru Honjo (honjo-rikimaru-c6) wrote :

Hi Vishal,

My horizon instance run on Devstack apache port. This is the default deployment of devstack.

$ ls /etc/apache2/sites-available/horizon.conf
/etc/apache2/sites-available/horizon.conf

I attach my local.conf of devstack. Only passwords and host_ip are changed from default values. And I masked passwords.

Revision history for this message
Rikimaru Honjo (honjo-rikimaru-c6) wrote :

Hi Vishal,

Could you confirm my attachment file?

Revision history for this message
Vishal Manchanda (vishalmanchanda) wrote :

Rikimaru Honjo, Hi me and tatina from the horizon team tried to reproduce this bug but did not succeed.
Could you check maybe it's your browser cache and refreshing the browser fix it?

Revision history for this message
Akihiro Motoki (amotoki) wrote :

I sometimes hit the similar issue that languages in the Angular panels are not changed after changing the language setting.

In my case, hard-reload usually solves the issue. In Chrome, the "normal" reload does not help it. "Hard" reload is required in my case, but "hard" reload is only available when the developer tool is enabled. I think "hard" reload is not an usual procedure.

At the moment I am not sure something can be improved in horizon side, but at least it is worth investigating it.

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.