Thanks! I have patched the main tree with part of your patch. The start and end tokens are now not limited to single characters. I haven't modified it to use Properties.load as I still want to retain using the encoding, which in your case you had said was not being used.
Try it out and revert if you face any issues. Cheers, Magesh PS: Sorry for the slow turn-around. ----- Original Message ----- From: "Don Brown" <[EMAIL PROTECTED]> To: "Ant Developers List" <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 1:26 PM Subject: Re: Translate i18n task modifications > Diff attached > > On Thu, 3 Oct 2002, Magesh Umasankar wrote: > > > Please send the patch using cvs diff -u > > > > Thanks, > > Magesh > > > > *********************************************** > > * Diplomat: A person who tells you to go to * > > * hell in such a way that you actually look * > > * forward to the trip. * > > *********************************************** > > ----- Original Message ----- > > From: "Don Brown" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, October 02, 2002 7:33 PM > > Subject: Translate i18n task modifications > > > > > > > To make the translate task useable for my project, I've made a few > > > modifications which you may or may not find useful. The modified > > > translate task, Translate2, is at > > > http://www.twdata.org/dakine/Translate2.java > > > > > > In summary the changes are: > > > * The starting and ending tokens can now be of any length > > > * The resources files are resolved with Project.resolveFile() > > > * Loaded the resources with java.util.Properties rather than the hand > > > crafted parser > > > > > > These changes made it possible for me to replace my runtime resource > > > replacement tags at build time (multiple language support is not > > > required). > > > > > > I could apply these changes to the original Translate and provide a patch > > > if needed. Thanks for the great project and all the hard work. > > > > > > Don > > > > > > > > > -- > > > 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]> > > > > > ---------------------------------------------------------------------------- ---- > -- > 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]>
