Skip to content

Latest commit

 

History

History
209 lines (144 loc) · 14.1 KB

README.md

File metadata and controls

209 lines (144 loc) · 14.1 KB

AllTransAllTrans™ - Completely Translate Apps

Like Chrome's translation of webpages, but for Android apps. It replaces ALL TEXT IN AN APP 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.

Works with Android 13!

LicenseGPLv3 Donate GitHub All Releases Play

Download the latest release from github releases or from LSPosed modules!

Table of Contents

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.

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 screenshots of AllTrans translating apps from Korean to English

Below are some of the screenshots of AllTrans app

Videos

A video (in English) showing how to use AllTrans by Gadget Hacks on Youtube https://www.youtube.com/watch?v=sKDtkmISi6k. This video is for an older version of the app, you no longer need API keys.

Alt text

How to install AllTrans

  1. This application requires android version 4.4 or later. You probably already have it. (Android KitKat or later - so far Kitkat, Lollipop, MarshMallow, Nougat, Oreo, Pie, Q, R.).
  2. Make sure you have Xposed Framework installed and running.
    • LSPosed and EdXposed are recommended.
    • If you do not have an unlocked bootloader or Magisk, AllTrans is now fully compatible with VirtualXposed and Taichi, so AllTrans can now be used on all devices!!! No need of unlocked bootloader, no need of Magisk, etc.!
  3. Install the latest version of AllTrans from Google Play Store. You can alternatively download the apk from Xposed Module Repository or from LSPosed Repository inside LSPosed app.
  4. Reboot your phone.

How to use AllTrans

  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!

Note - If you are using VirtualXposed or Taichi

  • This application will only work for apps installed inside Taichi or VirtualXposed, not for other apps. This means it will not work for any system apps. - Sometimes some apps will fail to install/run inside Taichi/VirtualXposed. This is not a problem of AllTrans, just some limitations of Taichi/VirtualXposed.
  • Some apps work on Taichi, some work on VirtualXposed, some on neither. I recommend you try using both if some app does not install/open inside VirtualXposed/Taichi.

How to get Microsoft Azure Translate Key

If you use Microsoft Translate instead of Google, you need you to sign up for free a key from Microsoft Translate. See instructions below on how to get the keys. 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. Under the "Resource group" field, click "Create new", then type in any name, it does not matter.
    5. In the "Resource group region" field, select any region, it does not matter
    6. In the "Resource group" field, type in any name, it does not matter.
    7. In the "Region" Section, select "Global"
    8. Type in any name in "Name" field, type in any name, it does not matter.
    9. 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.
    10. Click "Next: Tags", then click "Next: Review + Create", then click "Create".
    11. 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).

Note - 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.

TroubleShooting

No app is being translated in any app

  • If no app is being translated, check if "AllTrans" is enabled in "Xposed Installer -> Modules"
    • If you are using "LSPosed", make sure "System Framework" and "Settings Storage", and the to-be-translated-app is enabled in LSPosed for AllTrans.
    • If you are using "Taichi", check "AllTrans" is enabled in "+ -> Manage Modules".
    • If you are using "Taichi"/"VirtualXposed", also make sure the app to be translated in installed using "Taichi"/"VirtualXposed".
  • If you are using "Google" to translate (the default), make sure you have set "Translate From Langauge" and "Translate To Language" and downloaded the translation files.
  • If you are using "Microsoft" to translate, make sure "Microsoft Subscription Key" is correct, and the "Resource Region" setting is "Global" when you made the key.

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".

Other apps are being translated, but some particular app is not

  • 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.

The app "Telegram" is not being translated

  • In "Apps to Translate", click on "Telegram", click "OverRide Global Settings", set "Translate From Langauge" and "Translate To Language", and Enable "Aggresive Mode"

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".

Featured In

AllTrans has been featured by many outlets, in many languages. AllTrans has been covered in English by -

Donations

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

paypal

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. If not, see http://www.gnu.org/licenses/.