Re: i18n best practices

2005-04-20 Thread Hubert Rabago
I haven't tried it yet, but Validator has support for internationalization. Also, you can take a look at the i18n support in FormDef, which can help you in both formatting and parsing. One of the sample apps demonstrate this by allowing EN, DE, and IT formats in its form (which has both dates and

i18n best practices

2005-04-19 Thread Daniel Lipofsky
I am wondering about best practices in struts for internationalization of dates and numbers. Formatting is not too hard, but parsing and validation is trickier. We must simultaneously handle different formats for different users, so any validation or parsing has to take into account the user's loc