Look into the i18n intereceptor:

http://struts.apache.org/release/2.3.x/docs/i18n-interceptor.html

An example:
http://www.mkyong.com/struts2/struts-2-i18n-or-localization-example/

On Tue, Jun 25, 2013 at 5:27 AM, Antonio Sánchez
<[email protected]> wrote:
> Hello.
>
> I need to return content localized to the browser locale from the very first
> visit.
>
> I guess I need:
>
> 1. Detect browser locale.
> 2. Apply that locale in response and subsequent session.
>
> How can I do it?
>
> Thanks!
>
> Antonio



--
~Chester

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to