dev@glassfish.java.net

RE: message catalog synchronization

From: Frank Kieviet <Frank.Kieviet_at_Sun.COM>
Date: Wed, 15 Jul 2009 15:19:43 -0700

Hi Bill,

In most of the components in OpenESB we use a tool that reads the strings
from the Java files and puts them in resource bundles. This avoids
synchronization issues automatically. It also makes reading the sources
easier and while reading the sources, it's easier to detect problems where
the arguments don't match the messages.

We've integrated this tool into our Maven builds.

See <
http://blogs.sun.com/fkieviet/entry/server_side_internationaliation_made_eas
y> for more info.

HTH,
Frank


> -----Original Message-----
> From: dev-return-13444-frank.kieviet=sun.com_at_glassfish.dev.java.net
> [mailto:dev-return-13444-frank.kieviet=sun.com_at_glassfish.dev.java.net] On
> Behalf Of Bill Shannon
> Sent: Wednesday, July 15, 2009 14:53
> To: dev_at_glassfish.dev.java.net
> Subject: message catalog synchronization
>
> Does anyone have any tools or techniques for keeping message catalogs
> (LocalStrings.properties) synchronized with the code that uses them?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net