Re: Changing locale for any current request

2013-07-25 Thread Lukasz Lenart
2013/7/25 Antonio Sánchez : > But I still need to know which is the current request to re-request with the > new locale. > > Anyway, I have no problem with changing the locale. > > I guess this is a design issue, maybe a web pattern, and goes beyond Struts. > Anyway, how do you usually manage thi

Re: Changing locale for any current request

2013-07-25 Thread Antonio Sánchez
But I still need to know which is the current request to re-request with the new locale. Anyway, I have no problem with changing the locale. I guess this is a design issue, maybe a web pattern, and goes beyond Struts. Anyway, how do you usually manage this in your i18ned applications? I mean,

Re: Changing locale for any current request

2013-07-25 Thread Christian Grobmeier
Have you tried "request only" for these links? See: http://struts.apache.org/release/2.3.x/docs/i18n-interceptor.html basically using foo.action?request_only_locale=en_US your locale would not be stored in the session, it's just for this request On Thu, Jul 25, 2013 at 10:15 AM, Antonio Sánche

Changing locale for any current request

2013-07-25 Thread Antonio Sánchez
I will include a header in all pages that displays links for translating current page (at any moment) to different locales. Something like: ES | EN | IT These links will render current page (query, action... ) in the requested locale. How is this usually performed? I guess I must remember all