Bug #35276 Retain user locale for one page load after log-out
Submitted: 13 Mar 2008 17:36
Reporter: Joshua Ganderson Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Enterprise Monitor: Localization Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[13 Mar 2008 17:36] Joshua Ganderson
Description:
When you log out from the app in a locale other than english, the logout notice is in that language but the "notice:" part is english, as is the rest of the page.

User's have complained that the notice message is mixed languages.

How to repeat:
With browser default language as english, log out of the app with a user that had locale set as japanese.

Note the the notice in the upper right is mixed languages.

Suggested fix:
1) save user's locale for one last page render
Not sure if this is a good idea. If your browser default language is english and your user's locale is Japanese, it could mean that this shared machine and we want the login page to render with whatever locale the browser says is the default. On the other hand, it may be that the user just didn't know to set the default language in the browser...

2) do some special handling to retrieve the "notice" label. I imagine that this would have to be a special method call that ties into an overriding locale stored in the session just for the post-logout situation. Might be pretty convoluted to render the single word.

3) something I haven't thought of. open to suggestions.