openhab-core/tools/i18n-plugin
Wouter Born bb3224a434
Add i18n-maven-plugin to make internationalization easier (#2544)
* Add i18n-maven-plugin to make internationalization easier

This plugin simplifies generating the default translation .properties files from the add-on XML information files.

It reuses the same XStream parsing classes that are used by openhab-core for parsing the binding/config/thing XML files.
It will also keep any existing default translations already present in property files for translations using `@text/`.
Furthermore it will nicely group and sort the translations.

After building this Maven plugin you can use it on add-ons using:

`mvn org.openhab.core.tools:i18n-maven-plugin:3.2.0-SNAPSHOT:generate-default-translations`

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-01 18:52:03 +01:00
..
src Add i18n-maven-plugin to make internationalization easier (#2544) 2021-12-01 18:52:03 +01:00
.classpath Add i18n-maven-plugin to make internationalization easier (#2544) 2021-12-01 18:52:03 +01:00
.project Add i18n-maven-plugin to make internationalization easier (#2544) 2021-12-01 18:52:03 +01:00
pom.xml Add i18n-maven-plugin to make internationalization easier (#2544) 2021-12-01 18:52:03 +01:00