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
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
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
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
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 +
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
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:
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,
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
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
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
11 matches
Mail list logo