Oh Boy,

I am glad to see that I was  not the only one to have this problem :-)

Dave,

Here is how I got it to work:

Edit the struts.properties with the following entry
struts.custom.i18n.resources=translations

Edit the properties file translations.properties with the entry
format.money={0,number,currency}

Make sure that translations.properties is in you classpath.

Note: The filename translations.properties can be any name you choose. I use
that name because that is the place where I place my translated strings. If
you have translated Strings, make sure you place the entry on other files as
well.

Cheers,

Harring.


On 4/24/07, Dave Newton <[EMAIL PROTECTED]> wrote:

--- chengas123 <[EMAIL PROTECTED]> wrote:
> Awesome.  Got it working by adding that to a
> package.properties file. I have no plans to
> internationalize this site and it wasn't immediately
> obvious to me that formatting would fall under the
> category of localization (although I understand why
> it does), so I'm afraid this was an area I hadn't
> made any efforts to learn. Thanks again for the
help.

No problem. I didn't know much about it until a couple
of weeks ago myself until I flailed trying to convert
a couple screens into Chinese and all heck broke
loose. Learned a bit more than I wanted to ;)

d.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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


Reply via email to