Easiest way to translate Android strings.xml file

Check out my Python scripts at Github. It works here behind a web page. You feed

strings.xml

plus IN and OUT language codes, Google Translate does the rest. Works best if you use simple unambiguous English. Kudos to Khayam Gondal, on whose work I build.


I created a tool on my website for this.

Go to http://mathgeniusguide.com/codegenerator.html.
In the dropdown menu, select "Parse Strings File".
In the field that says "Strings File", paste your strings file.
Click "Parse" to parse a list of strings from your file.
Copy and paste the list that appears into Google Translate.
Copy and paste your Google Translate result in the "Translated Strings List" field.
Click "Generate Code".

Your translated strings file will appear. You'll still have to check for inaccurate translations, and for strings with %1$s values.


I use translation editor, its not automatic but still very convenient way and it is built into Android Studio. Also take a look on this answer, that guy created a tool that making the translation automatically.