RE: Language resource bundles problem

2004-05-14 Thread None None
switch languages in the middle of work, although the capability is nice to have). Thanks again Paul! From: Paul McCulloch <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subje

RE: Language resource bundles problem

2004-05-14 Thread Marcin Korszeń
W liście z pią, 14-05-2004, godz. 10:52, Paul McCulloch pisze: > I'd try overwriting the struts Locale in Globals.LOCALE_KEY when the user > clicks on a flag. I don't know if that will work, but I'd try it. > > I'd also give careful consideration to just using the browsers requested > language, r

RE: Language resource bundles problem

2004-05-14 Thread Paul McCulloch
aul > -Original Message- > From: None None [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 13, 2004 7:24 PM > To: [EMAIL PROTECTED] > Subject: RE: Language resource bundles problem > > > Another related problem... > > I've gotten this workin

RE: Language resource bundles problem

2004-05-14 Thread Paul McCulloch
I think the Locale should be magically in session for you. Paul > -Original Message- > From: None None [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 13, 2004 6:48 PM > To: [EMAIL PROTECTED] > Subject: RE: Language resource bundles problem > > > Sorry Paul

RE: Language resource bundles problem

2004-05-13 Thread None None
countryCode? Thanks again! From: Paul McCulloch <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: RE: Language resource bundles problem Date: Thu, 13 May 2004 16:47:00 +

RE: Language resource bundles problem

2004-05-13 Thread None None
lt;[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: RE: Language resource bundles problem Date: Thu, 13 May 2004 16:47:00 +0100 You are calling the getMessage(String, Object) method. The String is the key & the object is a substitution param

RE: Language resource bundles problem

2004-05-13 Thread Paul McCulloch
ot Narula" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >Subject: Re: Language resource bundles problem > >Date: Thu, 13 May 2004 21:05:

Re: Language resource bundles problem

2004-05-13 Thread None None
That seems right to me... I added the From: "Harjot Narula" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Language resource bundles problem Date: Thu,

RE: Language resource bundles problem

2004-05-13 Thread Paul McCulloch
You are calling the getMessage(String, Object) method. The String is the key & the object is a substitution paramter (i.e. {0}). You want the getMessage(Locale, String) method. You can eaither create a Locale from 'de' or get the users first requested locale with "request.getSession().getAttribute

Re: Language resource bundles problem

2004-05-13 Thread Harjot Narula
es.deleteFailed")); Correct me if I am wrong Harjot - Original Message - From: "None None" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 13, 2004 8:54 PM Subject: Language resource bundles problem > Hello all. I posted this question a li

Language resource bundles problem

2004-05-13 Thread None None
Hello all. I posted this question a little while ago as a reply to another thread, but I figured the question might be lost there... I'm trying to get multiple language support to work. I have created two files, ofmResources.properties and ofmResources_de.properties and stored them in WEB-INF