Converting PO Files to Android XML

We’re looking at working with a new startup called Colatris which will solve some of our translation problems.  They focus on solving the multi-language issues for mobile applications with an easy SDK and a translation service.

For us, 99% of our work is web-applications, not mobile.  And we’ll use things like PO files (gettext) or other string tables.

To use Colatris, I hacked together this small Python script: po2xml.py

This will convert your PO (or MO) files into an Android style XML language file.

./po2xml.py source.po output.xml

Hope this helps some other out, multi-language support for web and mobile applications is very important.