We’ve come a long way in Pentaho Data Integration. The amount of source code increased dramatically over the almost 2 years that we’ve open sourced Kettle. The amount of text to translate into other languages has dramatically increased as well. I thought it was high time we gave the translators in our community a better tool to work with. The design philosophy in PDI has always been that everything you can change should get a GUI. So we created the Pentaho Translator:
With this single dialog we can translate all the keys that are in the Java source code. Here is how it works.
- Select the locale to translate into (fr_FR for example is French from France)
- Select the package in which there are untranslated keys:
- light gray: 1-5 missing keys
- gray : 6-10 missing keys
- yellow: 11-25 missing keys
- orange: 26-50 missing keys
- red: > 50 missing keys
- Select a key from the TODO list in the middle
- Enter the translation to the right
- Apply moves you to the next key on the todo list
- When you are done, hit the “Save” button to save the changes back to disk.
- Send the changed properties files back to me 🙂
If you want to help out, you can download our Kettle i18n package.(20MB zip file) Simply unzip this file in a directory and launch Translator.bat or “sh translator.sh”. This package includes libraries for Windows and Linux (x86). UPDATE: the zip file now also includes pt_PT. You can now also add your own locale yourself in the translator.xml file.
So join in on the translation fun and leave your mark on Pentaho Data Integration!
Until next time,
P.S. Although the source code for Translator is customized for Kettle, I’m sure it will be possible to use this tool to translate other properties files based Java software as well. If you are interested, contact me over e-mail or have look at the source code for Translator2.java.