A similar question will be answered on stackoverflow here . I just used the Android Resource Translator (ART), the free software mentioned above in the "KG" section under Windows 7 Pro. For Windows users who want to specifically translate Android resource files (as originally set), this is the best free solution I have found. (I confirm that Google Translate is paid, find that the memoQ mentioned in the link above is a commercial tool).
ART is installed quickly and automatically. I selected the output languages using the checkbox, and it automatically translated my Android application res / values /strings.xml into German, Russian, and French XML files output under the general directory "res" as values -de / strings.xml, values -ru / strings.xml and values-fr / strings.xml in a minute. Then I copied these directories to my folder "app / src / main / res" and my application has working translations. (I played it safe, you can just specify your "res" directory for your output and skip copying).
ART uses Bing Translate, and no fee is charged. This is pure machine translation, so the result may not be as accurate as human translation, but for Android resource records such as “Download” or “Exit”, it seems adequate.
Warning: GUI is disabled. For instance:
- The Windows menu icon and taskbar icon are called “Android Resource Handler”, but the application window title is “Android Resource Translator”.
- I had to stretch the window on the screen to show it Translate button
- There is a field containing the text Copy Paste the path to the output folder. res will be created here. If you do not manually enter the directory in this field, I am not sure if any output will be created or where.
But this does not affect the function, only convenience.
Emptor Cautions:
- The French translation does not speed up the apostrophes, and this leads to a fatal assembly failure. Workaround: Edit the French XML file, manually replacing "with."
As soon as I completed the translations, I used Android Studio, the built-in "Translation Editor" , to check them.
As KG says, available at SourceForge . Last update: 2015-02-17, 11 downloads this week. Source code is available on github . This is begging; the author adds a “Donate” link in the application leading to the Paypal page.
source share