androidlanguage-translation

Quickest way of translating string.xml file


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.


Solution

  • 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 :)