You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jonathanyu <Jo...@fairisaac.com> on 2008/01/30 02:12:30 UTC
Maven plugins that can check for hardcoded (un-externalized)
strings at build time? (i18n)
For internationalization purposes, are there any Maven plugins that would
check during build time for strings that aren't externalized to a resource
(.property) file?
For example, if I have code like this:
System.out.println("hello"); //$NON-NLS-1$
System.out.println("world");
is there a maven tool that can alert me, perhaps in a report, that "world"
is not externalized to a property file AND isn't marks with a special marker
like //$NON-NLS-1$? The special marker could also be /* NOI18N */.
Anything would help. Thanks.
Jonathan
--
View this message in context: http://www.nabble.com/Maven-plugins-that-can-check-for-hardcoded-%28un-externalized%29-strings-at-build-time--%28i18n%29-tp15173563s177p15173563.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven plugins that can check for hardcoded (un-externalized) strings at build time? (i18n)
Posted by Rémy Sanlaville <re...@gmail.com>.
Hi,
I don't think so but it will be a useful plugin.
Rémy