Data from rpUIContext ignores lang cookie/GET parameter

Lukas Hämmerle lukas.haemmerle at switch.ch
Thu Jul 27 02:46:32 EDT 2017


On 26.07.17 15:30, Cantor, Scott wrote:
>> How could this be achieved? Basically, it would be necessary to
>> ignore the web browsers language preference in case there is a
>> "lang" GET parameter or cookie available.
> 
> We would have to change all that code to route through Spring's
> locale handling, I would imagine. Or you'd have to brute force
> something by accessing the metadata underneath in place of those
> helpers.

So it seems that there is no easy way to achieve this... Thanks for the
info. We therefore will try accessing localized metadata info from the
velocity templates directly in the short term.

Best Regards
Lukas


-- 
SWITCH
Lukas Hämmerle, Trust & Identity
GÉANT Project Task Leader of
eduGAIN Service Development - Research and Service Providers
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
phone +41 44 268 15 05, direct +41 44 268 15 64
lukas.haemmerle at switch.ch, http://www.switch.ch

30 years of pioneering the Swiss Internet. Celebrate with us at
https://swit.ch/30years



More information about the users mailing list