rquinio / l10n-maven-plugin

:abcd: Maven plugin to validate localization resources in Java properties files
MIT License
3 stars 1 forks source link
i18n l10n maven-plugin properties

l10n-maven-plugin Build Status Coverage Status Maven Central

A Maven plugin to validate localization resources in Java properties files

Description

The localization process of an application often involves non technical people. Some translated resources may contain issues linked to formatting, encoding, or the context where the resource is used.

l10-maven-plugin can validate a set of properties files (mainly used in Java ResourceBundle). It aims to either:

The plugin was initially developed for some webapps translated in 7 languages with several thousands of properties across 5 resource bundles. It allowed to prevent buggy translations from slipping into production and reduced the cost of fixing them by detecting issues earlier.

It aims to be a pragmatic solution when having legacy constraints or needing fast & easy tool, yet probably not the ideal solution in terms of usability:

Usage

See Usage page for plugin goals and detailed configuration.

Plugin is available on Maven Central, through Sonatype OSS hosting.

<plugin>
  <groupId>com.googlecode.l10n-maven-plugin</groupId>
  <artifactId>l10n-maven-plugin</artifactId>
  <version>1.8</version>
</plugin>

Requirements

The following specifies the minimum requirements to run this Maven plugin:

Library Min version Notes
Maven 2.2.1 Might work on previous Maven 2 versions, but not tested.
JDK 1.5

Validation

See the list of validators and associated checks.

References