Problems with internationalization
Thorsten Michels
michels at rhrk.uni-kl.de
Tue Apr 28 05:45:24 EDT 2020
Am 28.04.2020 um 11:25 schrieb Rod Widdowson:
>> What am I missing?
>
> The language that your browser is asking for maybe?
I'm sorry, I don't understand what you are trying to tell me.
The pages work fine while I don't try to change the language: A browser
with preferred language German gets a login page completely in German. A
browser wth preferred language English gets an English page.
Now I'd like the user to be able to switch the language on the IdP
pages: I try this by adding e.g. "&lang=en" to the URL while being on
the German version of the login page. The problem is: only parts of the
page get changed to English, namely the texts that are defined in
message.properties. Other texts, e.g. that are referenced in the .vm
files by $rpUIContext.serviceName or
$attributeDisplayNameFunction.apply($attribute) are not changed.
Vice versa when adding "&lang=de" while being on the Englisch version.
Again, thank you for your help,
Thorsten
--
Thorsten Michels
RHRK
TU Kaiserslautern
Postfach 3049
67653 Kaiserslautern
Tel.: 0631/205-2443
More information about the users
mailing list