Closed plata closed 7 years ago
I'm currently looking at gettext commons which looks promising. However, I could not get it running yet.
What problems did you meet? I would like a solution for this, that can be updates via the web. This would enable us to update the language files more often that the software itself, which would make sense when we fix some typos or want to add new languages
With the explanations from the gettext commons wiki, it's quite easy to add the Maven dependencies. Running mvn gettext:gettext
will then give you a pot
file with the extracted keys. I don't currently understand how to generate po
files per language (if that can be done with Maven as well or not etc.) and how the generated classes/properties should be accessed from Java.
Ok. Getting closer:
po
(msginit -i keys.pot -o de.po
)mvn gettext:merge
mvn gettext:dist
(this creates a Messages_de.properties
)see #822
Translations are working. Translation service to be handled in #898.
Create a roadmap for the localization of Phoenicis. This includes:
For the Phoenicis application: