When i switch the locale language on browser level it does work indeed;
But does NOT work, when i want to change the language from code:
How to implement change of the language from code for above approach?
Precisely, i want to have a combo box on the header of the page and to be able to switch language -is their maybe a simpler approach than calling a Controller (servlet)
Regards
This message was edited 1 time. Last update was at by Bear Bibeault
Bear Bibeault
Author and opinionated walrus
Marshal
Thank you for guiding this thread to right track, Bear!
Clear,
Will replace drop-down (combo) with links (EN, ES);
BUT, still haven't found for issue how to change the language content via code? That command should affect the Browser settings, i think?
How to change language from code in servlet?