RE: Can you do this with internationalisation.

2001-06-11 Thread BERGENHOLTZ,ERIK (HP-NewJersey,ex2)
[mailto:[EMAIL PROTECTED]] Sent: Saturday, June 09, 2001 7:42 PM To: Struts Subject: Re: Can you do this with internationalisation. On Thu, 7 Jun 2001, Alex Colic wrote: Hi, my boss wants me to set up one of my apps written using struts for a demo. He wants to have a web page with a couple

RE: Can you do this with internationalisation.

2001-06-09 Thread Valery Kocubinsky
Hello My boss wants to haveeach web page with link of language choose. Now each page have 2 link : french and english.I define link as a href="%= request.getContextPath() %?locale=en_CA" bean:message key="language.english"/aand a href="%= request.getContextPath() %?locale=fr_CA"

Re: Can you do this with internationalisation.

2001-06-09 Thread Craig R. McClanahan
On Thu, 7 Jun 2001, Alex Colic wrote: Hi, my boss wants me to set up one of my apps written using struts for a demo. He wants to have a web page with a couple of flags. The use clicks on of the flags and enters the program using the language they selected. Not having gone down this

RE: Can you do this with internationalisation.

2001-06-08 Thread Kowshik . Podder
Thanks Jon - as I thought :) Kosh -Original Message- From: Jon.Ridgway Sent: 08 June 2001 11:45 To: struts-user Cc: Jon.Ridgway Subject: RE: Can you do this with internationalisation. Hi Kosh, The responses to your question by David Winterfeldt Peter Alfors

RE: Can you do this with internationalisation.

2001-06-07 Thread Jon.Ridgway
Hi Alex, Yes you can do this. When the user clicks on the flag, you set the local in their session. Then use the local option to explicitly set the local when using the Struts bean:message tag. Jon. -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: 07 June 2001

Re: Can you do this with internationalisation.

2001-06-07 Thread David Winterfeldt
You just need to have your users response go to an action and create a java.util.Locale object based on the users choice of language and put it in session scope under the org.apache.struts.action.Action.LOCALE_KEY constant. session.setAttribute(org.apache.struts.action.Action.LOCALE_KEY, new

RE: Can you do this with internationalisation.

2001-06-07 Thread Kowshik . Podder
to the Action.LOCALE_KEY constant. Kosh -Original Message- From: Jon.Ridgway Sent: 07 June 2001 15:47 To: struts-user Cc: Jon.Ridgway Subject: RE: Can you do this with internationalisation. Hi Alex, Yes you can do this. When the user clicks on the flag, you set the local in their session