Automatic translation tool for Android

Do you know if there is currently an automatic localization tool for free that leaves the market? This would be for translating my XML files from my Android project. I found that everyone relies on the Google translate API. Since this API is now paying (since December 2011) all of these tools are now deprecated.

The ones I've tried but rely on Google Translate APIV1

I would be very grateful if someone found a worker.

+6
source share
8 answers

I have not tried, but I heard about the Google Translate Toolkit . Appears to support a wide range of formats, including Android resources.

  • AdWords Editor Archive (.aea)
  • Android resource (.xml)
  • Apple iOS
  • Application (.strings)
  • Application Resource Pack (.arb)
  • Chrome extension (.json)
  • GNU gettext (.po)
  • HTML (.html)
  • Java Application (.properties)
  • Microsoft Word (.doc)
  • OpenDocument Text (.odt)
  • Normal
  • Text (.txt)
  • Rich Text (.rtf)
  • SubRip (.srt)
  • SubViewer (.sub)
+14
source

The @Pedro Rainho tool no longer works because it uses the old api key method, which recently changed bing. I have a GUI application using the new api secret api key. You can check it out. App Available at SourceForge

+3
source

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.

+3
source

You can try the following: http://www.pedrorainho.eu/applications/apktranslator

This was done by me to translate my Android applications.

+2
source

More universal translation and localization: crowdin.net

+2
source

I can't believe I'm going to say this, but Bing has a free translator . It can be configured using SOAP.

Here is a link to some code that will help you add it to your application:

http://code.google.com/p/bing-translator/source/browse/trunk/src/com/saturdaycoder/bingtranslator/BingTranslatorSoapApi.java?spec=svn3&r=3

EDIT: I just found an application that now uses Bing for the same reason you are looking for a new one.

http://www.androidzoom.com/android_applications/tools/droid-translate_gghr.html

+1
source

Motodev Studio has a feature that does this with Google Translate.

0
source

old post, but I created an androlate gradle plugin that you could try. https://github.com/ayvazj/gradle-androlate-plugin

0
source

Source: https://habr.com/ru/post/904698/


All Articles