Problems with internationalization

Thorsten Michels michels at rhrk.uni-kl.de
Tue Apr 28 05:01:10 EDT 2020


Hello,

I'm trying to internationalize my IdP-pages (V3.4.6). Using the 
message.properties mechanism I have created two version that are 
completely German resp. English based on the preferred language setting 
in the browser.

Now I want to add a language switch. According to
https://wiki.shibboleth.net/confluence/display/IDP30/Switching+locale+on+the+login+page
I have added beans for CookieLocaleResolver and LocaleChangeInterceptor.

Now, when I am e.g. on the German version of the login page I can add 
'&lang=en' to the URL in the browser (like 
https://idp.../idp/profile/SAML2/Redirect/SSO?execution=e1s1&lang=en). 
But the page then mixes German and English content. The texts that come 
from message.properties are in the correct language, the language that 
was changed to. But texts from metadata like the service name or, on the 
consent page, friendly names of attributes do not change their language.

What am I missing?

Thank you very much and best regards,
Thorsten

-- 
Thorsten Michels
RHRK
TU Kaiserslautern
Postfach 3049
67653 Kaiserslautern
Tel.: 0631/205-2443


More information about the users mailing list