and then adjust the LangFilter (which is called after the pretty filter) to read out the param “language” from the request object and set the locale accordingly. In the example code, I did it using cookies, but its quite easy to do with request params.
Your locale is now correctly set on the HttpServletRequest and in JSF, so you can facilitate the JSF built-in ways of doing i18n etc.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.