Easiest way to translate Android strings.xml file

Thracian picture Thracian · Jun 10, 2017 · Viewed 27.3k times · Source

I'm using Google translate to translate strings.xml files to other languages from English. But translating more than 1000 lines one by one takes too much time. Is there an easy way or code to do this?

How do you translate your apps to other languages?

Answer

Rainer Glüge picture Rainer Glüge · Apr 22, 2018

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.