Package org.openhab.core.tools.i18n.plugin
package org.openhab.core.tools.i18n.plugin
-
ClassDescriptionBase class for internationalization mojos using openHAB XML information.The bundle information provided by the openHAB XML files in the
OH-INF
directory.Reads all the bundle information provided by XML files in theOH-INF
directory toBundleInfo
.Enumerates all the different modes for generating default translations.Generates the default translations properties file for a bundle based on the XML files in theOH-INF
directory.Converts JSON basedBundleInfo
toTranslations
.Converts the translation key/value pairs of properties files toTranslations
.TheTranslations
of a bundle consisting ofTranslations.TranslationsSection
s havingTranslations.TranslationsGroup
s ofTranslations.TranslationsEntry
s (key/value pairs).Merges multipleTranslations
into one.Converts XML basedBundleInfo
toTranslations
.