FORUMS

[XPOSED][APP][5.0+] AllTrans - Completely Translate Apps

142 posts
Thanks Meter: 260
 
By akhilkedia94, Senior Member on 17th January 2017, 04:46 PM
Post Reply Email Thread
AllTrans
- Completely Translate Apps

à la Chrome translation of webpages, but for Android apps

Update - Now Support Android 10! . Also Supports VirtualXposed, so you can use AllTrans without
Root / Magisk / Unlocking Bootloader!!! Also Supports Taichi, so you can use AllTrans without Root / Magisk / Unlocked Bootloader, and much more simpler to use than VirtualXposed!!


What AllTrans does
It replaces all text in an app in a language from one language to another at runtime.
Say for example an app is in German. A user selects the app name, and the required language conversion (say German to
English).
Then whenever the user uses the required app, all the text, ANYWHERE in the app, are replaced by their English
equivalents.
This is something similar to the way Google Translate works in Chrome.
Since this is a free app, you will need to get you own Translation API key (See instructions below). I can consider
making it so that this step can be skipped, but then this will be a paid app.

Note - Due to a technical limitation, this won’t work with many games. Nothing can be done about this.

ScreenShots and Videos
Below are some side-by-side screenshots of AllTrans translating apps from Korean to English




Below are some of the screenshots of AllTrans app




A video (in English) showing how to use AllTrans by Gadget Hacks on Youtube
https://www.youtube.com/watch?v=sKDtkmISi6k

Features
  • Translate any app, including system apps.
  • Completely Free!
  • Works on any device without rooting/magisk/unlocking booltloader/flashing - simply use Taichi!
    or
    VirtualXposed!
    Taichi is much more simpler to use than VirtualXposed!!
  • Supports 60 languages supported by
    Microsoft Azure Translator!
  • Can translate text displayed using TextView.SetText, Canvas.DrawText and in Webviews.

Installation Instructions
  1. This application requires android version 4.1 or later. You probably already have it. (Android JellyBean or later -
    so far JellyBean, Kitkat, Lollipop, MarshMallow, Nougat, Oreo, Pie and Q.).
  2. Make sure you have Xposed Framework
    installed and running. If there is not an official version of Xposed for your Android,
    EdXposed is recommended. If its a normal device without rooting/magisk/unlocking booltloader/flashing -
    simply use VirtualXposed!
    or Taichi!
  3. Get the latest release of the APK from the Play Store. Alternatively you can also search the Xposed Module Repository for this app.
  4. Reboot your phone.

Usage Instructions
This application requires you to sign up for free a key from Microsoft Translate. See instructions below
on how to get the keys.
  1. Make sure “AllTrans” app is enabled in “Xposed Installer -> Modules”.
  2. Launch “AllTrans” app.
  3. Choose the “Translate from Language” and “Translate to Language”.
  4. In the “Apps to Translate” tab, find the app you want to translate, click the checkbox next to it.
  5. Close and restart the app you want translated - it should be translated!


How to get FREE Microsoft Azure Translate Subscription Key
Microsoft Translate requires a credit card to sign up. (But don’t worry, nothing will be charged.)
  1. Sign up for a Microsoft Azure account.
    If you don’t already have an Azure account, sign up for a Microsoft Azure account.
  2. After you have an account, sign into the Azure Portal. Sign up for a
    subcription by following the steps below.
    1. Click “Subscriptions”. It has a key icon.
    2. Click the “+ Add” at the top
    3. Choose a “pay-as-you-go” subscription. Will require a credit card, but don’t worry, nothing will be charged.
    4. Verify your identity, add in the credit card information. You will not be charged.
    5. In “Add Technical Support”, select “No technical support”. You will have to pay if you select any other.
      Accept the “Agreement”, and click “Sign up”.
    6. Click “Home” at the top after you finish signing up.
  3. Add a translate API resource by following the steps below.
    1. Select the “+ Create a resource” option.
    2. In the search box saying “Search the Marketplace” type “translator” on the left, and select “Translator” from the
      search results.
    3. Click the blue “Create” button.
    4. In the “Resource group” field, type in any name, it does not matter.
    5. In the “Region” Section, select “Global”
    6. Type in any name in “Name” field, type in any name, it does not matter.
    7. In the “Pricing Tier” section, select the “F0 (2M Up to 2M characters translated per month)”. You will have to pay
      if you select any other
      .
    8. Click “Next: Tags”, then click “Next: Review + Create”, then click “Create”.
    9. Wait 1 minute for Microsoft to process your request, then go to “Home”.
  4. Copy your key from Microsoft and add it to AllTrans by following the steps below.
    1. Under the “Recent Resource” section, click the name of the resource you just created.
    2. Click “Keys and Endpoint” on the left. It has a key icon.
    3. Copy “KEY 1”. This is the key you need to add to AllTrans.

The subscription key is something like “3d2c…” (some english numbers and alphabets).


No New Yandex Translate Keys

A previous version of this application encouraged use of Yandex API keys. Yandex has stopped giving free translate API
keys. If you already have a key, it may continue to work, it may not. It is recommended to shift to using a Microsoft
API key.

Changelog
Quote:

1.9.0
Now supports translating Telegram! Use "Aggressive Mode to translate."
1.7.0
NO NEED FOR API Keys!!
Now supports using Google Translate!
1.6.0
THIS APP'S CERTIFICATE HAS CHANGED - YOU WILL HAVE TO UNINSTALL PREVIOUSLY INSTALLED APP TO INSTALL THIS
YOU WILL LOSE YOUR SETTINGS AFTER UPDATING - MAKE SURE TO MAKE A COPY OF YOUR TRANSLATION API KEY!!

I had to change the certificate and settings as I will be releasing the app on Google Play Store.

TONS of new features -

  1. Fully compatible with Android 10
  2. Fully compatible with VirtualXposed and Taichi! (USE XPOSED MODULES WITH ROOT/MAGISK/UNLOCKING!!!!!!!!!)
  3. Fixed apps hanging on startup bug! No need to erase translation cache anymore!
  4. Autodetect language
  5. Better Webview Translation
  6. Dont translate editable fields - Now you can type numbers without the app messing it up!
  7. Automatically Scroll Text if translation is too long
  8. Dark Mode!
  9. Updated instructions for API keys
  10. Many bugfixes

Quote:

Version 1.4.0 - Backported to Android 4.0, bugfixes, better webview translate
Version 1.3.0 - Huge Reduction in memory usage - Will fix several crashes, and make translated apps much more responsive
Also, two versions ago - Translated my app into 56 languages! Use AllTrans in your language of choice!
Version 1.2.0 - Fixed obscure UI crashes for some older devices.
Version 1.1.2 - Added translations for 56 languages! Now use AllTrans in your own language! (Including Klingon for Star
Trek fans out there!).
Version 1.1.1 - Fixed Layout Issues resulting in Checkbox not being visible.
Version 1.1.0 - Added Support for Yandex Translate!!
Version 1.0.1 - Fixed PackageName. Uninstall the previous app before installing this.
Version 1.0.0 - Initial Release



Download
You can download the app from Play Store at https://play.google.com/store/apps/d...akhil.alltrans
Alternatively, search the Xposed Installer for "AllTrans" and download from there.

Upcoming Features
  1. Translations of my app itself, so that it can also be used by people who dont speak English - ETA a couple of
    days.
  2. Translate Notifications - Estimated ETA 3-4 weeks
  3. Support 4.0+ devices - The backend already does, need to change UI. ETA 2-3 weeks
  4. Autodetect Language to Translate - Sometime in the future

Source Code
https://github.com/akhilkedia/AllTrans

TroubleShooting/Known Bugs

TroubleShooting

No app is being translated in any app
  • If no app is being translated, check is “AllTrans” is enabled in “Xposed Installer -> Modules”.
  • Also check if your “Microsoft Subscription Key” is correct.

Translated app is stuck in opening screen
  • If this is the first time you started translating this app, click on the app’s name in “Apps to Translate” tab, and
    in “Other Settings” fill in “Delay Before Replcaing With Translated Text” to “2000”.

The Translated app is “Force Close”
  • Click on the app’s name in “Apps to Translate” tab, and in “Other Settings” fill in “Delay Before Replcaing With
    Translated Text” to “2000”.
  • Click on the app’s name in “Apps to translate” tab, and in “Other Settings” fill in “Delay Before Starting to
    Translate WebViews” to “2000”.

A particular app is not being translated
  • Click on the app’s name in “Apps to translate” tab, and in “Other Settings” fill in “Delay Before Starting to
    Translate WebViews” to “2000”.
  • If some parts of the app are still not being translated, click on the app’s name in “Apps to translate” tab, and
    enable “Aggressive Mode”.

A game app is not being translated
  • Due to technical limitations, “AllTrans” will not work with many games. Nothing can be done about this.

If you still have problems like “Force Close” or parts of an app not being translated

Contact me for support. When you do, I will need atleast the following information -
  1. The name of the app, along with a link to download the app from some APK store like “Google Play Store”,
    “CoolApk”, etc.
  2. Your phone’s Android version.
  3. A “logcat” of you trying to open the app which gives you problems. You can use apps freely available on the Play
    Store for this, such as This one

Once you have the above, contact me on the
XDA support
thread
.
You can also report issues on the Project’s “Github”.



Donations
If you like this project, buy me a cup of coffee!

Click Here to Donate if clicking
the above image does not work for you!


License
This program is AllTrans
Copyright (C) 2017 Akhil Kedia
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program.
The Following 37 Users Say Thank You to akhilkedia94 For This Useful Post: [ View ] Gift akhilkedia94 Ad-Free
17th January 2017, 09:10 PM |#3  
Wo11ven's Avatar
Senior Member
Thanks Meter: 44
 
More
Looks promising! Will test eventually.
17th January 2017, 10:48 PM |#4  
danielcr12's Avatar
Senior Member
Flag Nueva Esparta
Thanks Meter: 57
 
Donate to Me
More
I would like to test this as it seems like a great concept an idea, sadly i do not have a credit card. How to workaround this?
18th January 2017, 12:36 AM |#5  
akhilkedia94's Avatar
OP Senior Member
Flag Seoul
Thanks Meter: 260
 
Donate to Me
More
Quote:
Originally Posted by danielcr12

I would like to test this as it seems like a great concept an idea, sadly i do not have a credit card. How to workaround this?

Unfortunately, right now, nothing can be done directly.
Google Translate is not free, and while Microsoft Translate is indeed free, it requires a credit card to sign up.
Yandex Translate seems to offer translation service without requiring a credit card (only needs a mobile number).
If people seem interested in the app, I can add support for using Yandex Translate as well.
The Following User Says Thank You to akhilkedia94 For This Useful Post: [ View ] Gift akhilkedia94 Ad-Free
18th January 2017, 02:22 AM |#6  
KaMyKaSii's Avatar
Senior Member
Thanks Meter: 645
 
More
Error
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170118-002118.png
Views:	1768
Size:	60.8 KB
ID:	4007283  
18th January 2017, 03:00 AM |#7  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by KaMyKaSii

Error

you can download from xposed repo. sometime xposed installer on android error
18th January 2017, 03:50 AM |#8  
akhilkedia94's Avatar
OP Senior Member
Flag Seoul
Thanks Meter: 260
 
Donate to Me
More
Quote:
Originally Posted by KaMyKaSii

Error

Hi!
Thanks for this. My mistake - I put the wrong package name. I will fix it right now and reupload on xposed.
The Following 2 Users Say Thank You to akhilkedia94 For This Useful Post: [ View ] Gift akhilkedia94 Ad-Free
18th January 2017, 04:21 AM |#9  
akhilkedia94's Avatar
OP Senior Member
Flag Seoul
Thanks Meter: 260
 
Donate to Me
More
Quote:
Originally Posted by KaMyKaSii

Error

Hi I have now updated the apk, kindly download it from here or from xposed installer.
The Following User Says Thank You to akhilkedia94 For This Useful Post: [ View ] Gift akhilkedia94 Ad-Free
18th January 2017, 12:01 PM |#10  
souler456's Avatar
Senior Member
Flag Calamba, Laguna
Thanks Meter: 636
 
More
Not saying that I don't trust Microsoft or you or anything, but I don't really like putting my card on this, even though it's free. I may sound kinda crazy for a bit there, but just saying what I think of. I will just probably wait for this module to be "paid" or "subscribe inside the app" and I'll gladly toss some money for you, or from other sources you'll use.




---------- Post added at 01:01 PM ---------- Previous post was at 12:58 PM ----------

Oh, almost forgot. About the poll, why not BOTH? User-friendly option for those who want it free and paid...


18th January 2017, 12:57 PM |#11  
Senior Member
Flag riyadh
Thanks Meter: 11
 
More
plzzzz add support for using Yandex Translate
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes