From the documentation Martin linked to:

"For example, using the default parameter name, a request to foo.action?request_locale=en_US, then the locale for US English is saved in the user's session and will be used for all future requests."

So, specifying the locale parameter once is sufficient.

L.


Raghuveer wrote:
So you mean if I  add    request_locale=en_US in all forward this will work
OR if I add in first forward it is sufficient?

_____ From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 8:10 PM
To: [EMAIL PROTECTED]
Subject: RE: setting locale manually

Czes Raghu

http://struts.apache.org/2.0.11/docs/i18n-interceptor.html
you can pass the locale on the request
and path accordingly
dziekuje!

Martin ______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official
business of Sender. This transmission is of a confidential nature and Sender
does not endorse distribution to any party other than intended recipient.
Sender does not necessarily endorse content
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Subject: setting locale manually
Date: Fri, 4 Jan 2008 18:30:39 +0530

How to set locale for my struts application.

My application will have 2 languages.

There will be 2 buttons in jsp page.

One button is polish and other is English.



on clicking of Polish button all the labels and button names and messages
are to be changed into polis language.



Any suggestions of implementing this




_____
Watch "Cause Effect," a show about real people making a real difference.
Learn <http://im.live.com/Messenger/IM/MTV/?source=text_watchcause>  more




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to