views:

28

answers:

2

An existing set of JSPs, hard-coded with English field labels, javascript error/info messages, image 'alt' message etc. needs to be multilingualized.

What would be the best way to go about converting these JSPs to use the standard Java Multilingual features (resource bundles, locales etc)?

A: 

I believe you are looking something like "gettext". This is majorly a unix based tool but you can also get a java binding here: link text

Pangea
gettext is a great i18n library, but what really needs to be done is to place the _()/i18n.tr() automatically in the jsp file.
Ryan Fernandes
+1  A: 

I've never tried it, but the Bravo JSP Editor plugin claims to be capable of this. Here's a demo.

BalusC