问题
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