You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Sinkinson,Andrew [NCR]" <An...@ec.gc.ca> on 2003/03/31 17:50:31 UTC

resource bundle problem

 I have 2 resource bundles that I am using in my WebApp for
Internationalizing.(UIStrings.propeties and UIStrings_fr.properties)  If I
add the following key value combination test.message=TestMessage to the top
of both resources bundles and recompile UIStrings_fr.properties will delete
the line "test.message=TestMessage".  Any keys that I add to the
UIStrings_fr gets deleted when I recompile.  What am I doing wrong?

Re: resource bundle problem

Posted by James Mitchell <jm...@apache.org>.
On Mon, 2003-03-31 at 10:50, Sinkinson,Andrew [NCR] wrote:
> 
>  I have 2 resource bundles that I am using in my WebApp for
> Internationalizing.(UIStrings.propeties and UIStrings_fr.properties)  If I
> add the following key value combination test.message=TestMessage to the top
> of both resources bundles and recompile UIStrings_fr.properties will delete
> the line "test.message=TestMessage".  Any keys that I add to the
> UIStrings_fr gets deleted when I recompile.  What am I doing wrong?

You are adding it to the file in your classes directory (it is
overwritten when you build).

Go to your source directories and change it there, then recompile.


-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org