Quickest way of translating string.xml file

自古美人都是妖i 提交于 2021-02-10 17:54:14

问题


I created an app in english but I have a huge user base of spanish and french users so I thought of translating the app in french and spanish languages , now there are two problems, first problem I am having is that there are over 3000 strings to be translated and I am not a native speaker so I have to copy each string, paste it into google translator and then put it in the language editor of android studio, and its very time consuming, frustrating and tiring, the second problem is that some strings are repeated for example Sign up with facebook or Back or Open and these appear multiple times in the language editor so I have to redo them all again and again. So I am wondering if there is a quick way around this to save time and with less effort I get the work done.


回答1:


There is no ready solution (as Iong as I know) for your problem. Only thing that I can suggest is export all transactions to file and write gradle plugin or standalone app which will parse exported sources to xml file. If all transactions is in this same sequence there shouldn't be problem with this :)




回答2:


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

Credit: Ra-Na




回答3:


You can use Google Translator Toolkit. But I still recommend you to go with the native translator. You won't get reliable quality in Machine translation like Google translate or Bing. Try translation agencies like Activeloc for quicker turnarounds and quality translation.




回答4:


Auto multiple translator...

multilingual-app-toolkit-app-localization



来源:https://stackoverflow.com/questions/46988451/quickest-way-of-translating-string-xml-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!