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, 
changing the locale at any time.


El Jueves, 25 de julio de 2013 10:28:34 Christian Grobmeier escribió:
> 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ánchez
> <juntandolin...@gmail.com> wrote:
> > 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 requests performed and use it to render the 
> > links. Is this correct?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> 
> 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to