You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by abhishek reddy <ab...@gmail.com> on 2009/04/16 10:49:47 UTC
Regarding locale in struts
hi every one,
how do i manually set the locale in struts application?
I have list of language options set in combo box.......based on the language
selection locale has to be set and it has to be replicated in the whole
application.
--
Abhishek
Re: Regarding locale in struts
Posted by Lukasz Lenart <lu...@googlemail.com>.
2009/4/17 abhishek reddy <ab...@gmail.com>:
> thanks for the reply....iam using struts 1.2.9, how to use the interceptor?
Not possible ;-) And I have no idea how it (Locale) should be
implemented in Struts 1.2.
Regards
--
Lukasz
http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Regarding locale in struts
Posted by abhishek reddy <ab...@gmail.com>.
thanks for the reply....iam using struts 1.2.9, how to use the interceptor?
On Thu, Apr 16, 2009 at 3:54 PM, Lukasz Lenart <lukasz.lenart@googlemail.com
> wrote:
> 2009/4/16 abhishek reddy <ab...@gmail.com>:
> > how do i manually set the locale in struts application?
>
> You have to have I18N interceptor in your stack and setup
> request_local param in url with given Locale code, see [1] for more
> details
>
> [1] http://struts.apache.org/2.1.6/docs/i18n-interceptor.html
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
Abhishek
Re: Regarding locale in struts
Posted by Lukasz Lenart <lu...@googlemail.com>.
2009/4/16 abhishek reddy <ab...@gmail.com>:
> how do i manually set the locale in struts application?
You have to have I18N interceptor in your stack and setup
request_local param in url with given Locale code, see [1] for more
details
[1] http://struts.apache.org/2.1.6/docs/i18n-interceptor.html
Regards
--
Lukasz
http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org