Bug 2063957

Summary: User Management - Users : While Impersonating user, UI is not switching into user's set language
Product: OpenShift Container Platform Reporter: Krishna Babu K <kkrothap>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: low    
Version: 4.11CC: aos-bugs, kkrothap, yufchang
Target Milestone: ---Keywords: i18n, Translation
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:54:06 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:
Description Flags
UI lang switch not comply with user impersonation
none
Impersonate text translation fixed none

Description Krishna Babu K 2022-03-14 17:46:30 UTC
Description of problem:
 Being in ja_JP UI, if user impersonate to some other user whose language preference set to en_US,  the UI is not changing to en_US.

Message "You are impersonating <username>. You are viewing all resources and roles this User can access." is in English.

Version-Release number of selected component (if applicable):
    4.11.0-0.nightly-2022-03-13-055724

How reproducible:
Always

Steps to Reproduce:
1. Navigate to User Management - Users.
2. Click on 'three dot menu' of any user, and impersonate that user
3. The current UI 'xx-lang' is not changing as per impersonating user's language preference 

Actual results:
UI language is switching while impersonating another user.

Expected results:
Expecting to change UI language.
Message "You are impersonating <username>. You are viewing all resources and roles this User can access." should be localized.

Additional info:
Reference screencast attached.

Comment 1 Krishna Babu K 2022-03-14 17:47:46 UTC
Created attachment 1865891 [details]
UI lang switch not comply with user impersonation

Comment 4 Siva Reddy 2022-03-28 00:28:47 UTC
Created attachment 1868636 [details]
Impersonate text translation fixed


Cluster Version:
  4.11.0-0.nightly-2022-03-27-140854

  Now the translation message is in the user language. see attached screenshot

Comment 7 errata-xmlrpc 2022-08-10 10:54:06 UTC
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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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://access.redhat.com/errata/RHSA-2022:5069