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.
Asked
Active
Viewed 8,598 times
7
-
Put all search string in resource bundle (key value) pair and then read the strings from resource bundle. Then generate the resource bundle version specific to language ( e.g Japanese, Deutsch etc,). As a first start you can use Google translate to translate string values and keep in language specific resource bundles. – Optional Oct 28 '17 at 10:03
-
1Hire freelancers – Nabin Bhandari Oct 28 '17 at 10:04
3 Answers
27
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

ibad ur rahman
- 1,381
- 4
- 18
- 40
0
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 :)

Karol Kulbaka
- 1,136
- 11
- 21