[OWASP-ESAPI] Internationalization

Rogan Dawes lists at dawes.za.net
Wed Feb 18 02:03:41 EST 2009


Jim Manico wrote:
> I've been talking with Pawan off-line about ESAPI internationalization,
> here are my thoughts:
> 
> 1) We need a basic Internationalization interface for ESAPI that all
> other ESAPI libraries will use when displaying user data
> 2) We need to add a "locale" attribute to the ESAPI User object.
> 3) Functions in the Internationalization interface supported should include
>     a) convert a string to a specific locale  (this one only will be
> used mostly by the other ESAPI classes)
>     b) edit a certain string/locale combinatio
>     c) delete a certain string/locale combination
>     d) list all supported locales
> 4) The interface should be able support several different kinds of persistence engines - resource bundles or a database.
> 

Can I suggest that we investigate the existing Java API's for doing this
before reinventing the wheel (badly)?

See <http://java.sun.com/docs/books/tutorial/i18n/format/messageFormat.html>

Rogan


More information about the OWASP-ESAPI mailing list