Comment 5 for bug 1560805

Revision history for this message
Ben Shum (bshum) wrote :

Loaded Bill's fix to my public i18n server for testing. The initial page change does seem to work, but there are still issues presenting from switching between languages.

First of all, if you haven't logged into the client, changing the locale doesn't do anything other than make the reroute URL change (like hostname/eg/staff/login?route_to=%2Feg%2Fstaff%2F%3Fset_eg_locale%3Dcs_cz, which appears just to be the entity-ized version of the cookie change variable tacked on).

If you are logged in, the very first change seems to alter the cookie setting. However, picking a different language, or the original language, does not seem to actually submit or alter the cookie itself.

Steps to repeat:

1) Log into the web client (register workstation, etc. for first time)
2) Pick another language, like Czech; the client changes the cookie for eg_locale to "cs-CZ"
3) Pick another language, like Spanish; the URL changes so that it appears with the appended ?set_eg_locale=es-ES, but looking at the actual cookie, the language code is still cs-CZ. The next page refresh or submit then changes it.

Continuing testing and analysis, but perhaps not a simple tweak.