Well I switch the locale using a page redirection:
engine.setLocale(theLocale);
engine.cleanup();
IEngineService service = cycle.getEngine().getService
(Tapestry.PAGE_SERVICE);
ILink link = service.getLink(cycle, this, new String[]{"Home"});
throw new RedirectException(link.getURL());
How do you currently switch the locale?
Numa Schmeder wrote:
> Hello all,
>
> I am checking if there is a way to encode the locale into the tapestry
> generated URL, this is to avoid caching problem with browser as
> currently the url is the same for whatever locale.
> I am using tap3 but maybe th