Hi David,
              Thanks for your help!. I have to support two Languages English
and French hence I have two properties file one is default
ApplicationResources.properties and the other is
ApplicationResources_fr.properties for French, I know that STRUTS Action
Servlet will load the proper properties file based on the User Locale. My
questions is that, If I have 4 different properties file how is it possible
to load the correct one based on the Language? For example I have
ApplicationResources1.properties, ApplicationResources2.properties and  two
files for French say ApplicationResources1_fr.properties
ApplicationResources2_fr.properties  How do I select the appropriate
properties file?

Thanks,
Jana.


----- Original Message -----
From: "David Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 2:47 PM
Subject: Re: Question! ApplicationResources.properties file


> You never need to specify a language specific file.  You can break up your
> messages into different bundles and use the bundle attribute jstl and
struts
> messaging tags to select it.  Struts will select the correct language for
> you, you just need to tell it which bundle to use.
>
> David
>
>
>
>
>
>
> >From: "Jana Navaneethan" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: Question! ApplicationResources.properties file
> >Date: Tue, 19 Nov 2002 14:32:17 -0500
> >
> >Hi,
> >         I have a multi-lingual application, Which uses STRUTS 1.0.2. I
> >have
> >an ApplicationResources.properties file which has more than 600 lines of
> >code. Is it good to have one large properties file? Or Can I split it
into
> >multiple properties file? Which is the best approach? in terms of memory
> >and
> >speed. If I want to use multiple properties file I know I have to use
> >bundles and Key is it supported in 1.0.2? and how do I select Language
> >specific properties file in case of multiple properties files? Any
thoughts
> >would be greatly appreciated!
> >
> >Thanks,
> >Jana.
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
>
>
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to