转换Android strings.xml文件的最简单方法

转换Android strings.xml文件的最简单方法

问题描述:

我正在使用Google翻译将string.xml文件从英语翻译为其他语言.但是,一一翻译超过1000行会花费太多时间.有没有简单的方法或代码可以做到这一点?

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?

查看我的Python脚本.它可以此处在网页后面.您喂

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

strings.xml

strings.xml

加上IN和OUT语言代码,其余的工作由Google Translate完成.如果您使用简单的英语,效果最好.我对 Khayam Gondal 表示敬意,我在此基础上进行工作.

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.