yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] geo307cc:
Unfortunatelly, with newest Alltrans, I can't translate 4pda app. From rusian to english. It translate only the titles and not the main text. I use it with the Google translation. Thanks in advance!

Στάλθηκε από το Lenovo L38041 μου χρησιμοποιώντας Tapatalk
[Xposed Framework Modules] Sezar1332:
unfortunately for me it didn't work in telegram app, I used aggressive mode but it didn't work
[Xposed Framework Modules] akhilkedia94:
I am aware that text sometimes gets messed up in Aggressive Mode -

Two issues that I am aware of -

1. long text overflowing its box

2. the top half of a line of text not rendering.

Unfortunately nothing can be done about either of these.

Did you face some other text formatting issues? If yes, can you post/pm me a screenshot?
[Xposed Framework Modules] akhilkedia94:
Please update your alltrans and follow instructions in the troubleshooting section in the app.
[Xposed Framework Modules] ChangeToTower:
Ok, thanks for explanation!

Screenshot attached:
[Xposed Framework Modules] akhilkedia94:
Your attachment seems broken, I cannot open it.
[Xposed Framework Modules] ChangeToTower:
attaching an image doesn't seem to work for me - anyhow, it is basically exactly how you described it. text flows out of the display, and upper half is cut (looks like it moved upwards). small addition: contact pictures are sometimes replaced by text and moved upwards as well. numbers (in digits) get translated sometimes to plain text..
[Xposed Framework Modules] Mysticblaze347:
Anyway to have where it auto detects languages...say when using for Xposed to translate downloads? Some downloadable modules are in different languages. I'm on Nougat btw.
[Xposed Framework Modules] akhilkedia94:
Auto detect is only available when using Microsoft Azure as translator provider.

You can however override the translation settings such as language on a per-app basis by clicking on the app's name in Apps to Translate.
[Xposed Framework Modules] Mysticblaze347:
I can't get Azure to set up. Why only in Microsoft and not others? I have Yandex going. I know the per app, but auto detect is wanted because one program (Xposed) has multiple languages that it displays simultaneously in downloads tab. I have English set in xposed settings, but it still shows that way.
[Xposed Framework Modules] akhilkedia94:
Azure provides language detection integrated with their translation. Yandex does not.

Google does not provide integrated language detection - running a separate language detection module along with translation will make apps too slow (and i mostly just haven't got around to implementing it.)
[Xposed Framework Modules] Mysticblaze347:
Microscam just also seems shady to use. I tried tho, it just dragged on trying to setup and other dumb crap. Complicated is right... hoop jumping sucks.
[Xposed Framework Modules] akhilkedia94:
Microsoft is a reliable company, not a scam. The instructions are a bit complicated and technical, but that is because I prefer to keep things completely free and open source. I could make the setup easier, but that will make the app paid.

Please feel free to send a pull request for any feature you need that I havent implemented right now.
[Xposed Framework Modules] Mysticblaze347:
All companies are one way or another...aka profit.

The only thing I would like if able without Micro is auto-detect. Don't feel pressured...just be cool if able.

The main issue I was having with set up is I couldn't get API Microsoft translation going. It was super confusing for me anyway. I didn't like seeing the paywall stuff and needing card. Many other ways to verify.

To achieve free/ open source is a pain sometimes. I get it. No need for simpler instructions for a pay route. Unless someone else wants.
[Xposed Framework Modules] zuhero:
is it just me or alltrans doesn't work when using taichi, with edxposed works fine, but when i activate the app through taichi, apps to translate tab becomes empty.
[Xposed Framework Modules] akhilkedia94:
The TaiChi list is emtpy because alltrans will only work apks installed with TaiChi (TaiChi mods apks to load xposed.)
[Xposed Framework Modules] zuhero:
Taichi list is not empty, the alltrans appears on manage modules tab of taichi. The error happens when i activate the module through taichi, which is that the apps to translate tab of alltrans becomes empty and no translation is done.
[Xposed Framework Modules] akhilkedia94:
You have to install other apps which you want to be translated through Taichi. (see the "create app" button in the attached screenshot.)

The AllTrans list became empty on activating TaiChi because it detects AllTrans module has been activated in Taichi, but no app has been added inside TaiChi yet.
[Xposed Framework Modules] Shervrar:
How can I set Chinese to not use simplified but traditional?
[Xposed Framework Modules] akhilkedia94:
Google only supports "Chinese" - i dont know if that is simplified or traditional.

Microsoft Azure supports both, but needs a free API key (see instructions on how to obtain one.)
[Xposed Framework Modules] Shervrar:
Weird, because Google translate has both. Don't understand why they only offer one through their API (and especially don't understand why they picked simplified out of the two).

Anyways, thanks. I'll try to set up MS ?
[Xposed Framework Modules] ChangeToTower:
..if anyone is interested in slightly better formatting in Telegram, try using Plus Messenger. No, I am not advertising it, but just to let you know.
[Xposed Framework Modules] zuhero:
Thanks for the help; it worked!!!
[Xposed Framework Modules] Sezar1332:
first of all thank you to the manager endlessly sorry i tried every way in my bad english telegram but it just translates the language inside the app does not translate the chat

---------- Post added at 09:19 PM ---------- Previous post was at 09:18 PM ----------

discord also works super
[Xposed Framework Modules] akhilkedia94:
You need to turn on "Aggressive Mode" to translate telegram.
[Xposed Framework Modules] KaMyKaSii:
I'm receiving the following error while trying to create the Microsoft Translator:

The provided location 'global' is not available for resource group. List of available regions is 'centralus,eastasia,southeastasia,eastus,eastus2,westus,westus2,northcentralus,southcentralus,westcentralus,northeurope,westeurope,japaneast,japanwest,brazilsouth,australiasoutheast,australiaeast,westindia,southindia,centralindia,canadacentral,canadaeast,uksouth,ukwest,koreacentral,koreasouth,francecentral,southafricanorth,uaenorth,australiacentral,switzerlandnorth,germanywestcentral,norwayeast'

What I need to do? Choose a specific location? I live in Brazil
[Xposed Framework Modules] Damianek420:
[MENTION=7220834]akhilkedia94[/MENTION] bro you are awesome.

If you can, try adding support for Tapatalk. That would be great!

Adding the engine from DeepL translate would be great. They offer 30 Days for free so we could create free keys and share them in the Telegram group.

It can translate more accurately by including courtesy forms

Also if you could add option with second Microsoft translator key if the first one has been expiried.

I'm trying to use Google translate api, and it looks like it reads the text correctly, but doesn't translate it. There are also application closures. Here is video from logcat

https://youtu.be/5ZTSpfj5krs
[Xposed Framework Modules] ChangeToTower:
..just had to switch from Microsoft to Google as provider for the translation. After downloading the offline package, it works blazing fast. So fast, that it even translates my text entry in telegram. in fact, it renders text input impossible. any way to disable translating user input? thanks
[Xposed Framework Modules] Le Ch@land:
Hi.

First thanks for your app.

It works fine with google translate as provider.

I used the app 4PDA, avaible on the playstore, this is simply an app to use their online forum.

All seems to be translated from russian to french, excepted all the contents of the posts in the forum.

I tried aggressive mode and also checked translate text in web pages inside apps but nothing works.

If you could find time to take a look at this app it should be great :laugh:

Sincerly.
[Xposed Framework Modules] akhilkedia94:
Looking into Tapatalk, can confirm does not translate.

If more people want DeepL, will consider it. But i dont think many would.

From your video of the log, the application closure are due a bug in AllTrans - i recently added beta support for translating notifications, and that causes the crash. I will fix it in the next version.

I recommend you share the log file itself, rather than the video. You can find apps on play store for this.
[Xposed Framework Modules] akhilkedia94:
Unfortunately no :(

User input is possible in normal modes, but Aggressive mode is indeed very aggressive, and normal modes don't work with Telegram.
[Xposed Framework Modules] akhilkedia94:
4pda will not work, no easy way to fix it.
[Xposed Framework Modules] ChangeToTower:
Try the app ForPDA. Should work there.
[Xposed Framework Modules] Damianek420:
I don't know what was the problem, but since rebooting now Google api works properly. As for the translation of typed text - For me it works so that: after typing it i gives backspace and it returns to the original version.
[Xposed Framework Modules] nectar.296:
Can't download language pack

Just got your app, everything looks fine but when I press "Translate from language" to choose my app language ( Japanese ), it's said an Language files need to be downloaded ( ~30mb ), i hit Download and...It's just stuck right there

I tried turn on and off wifi, connect to other Wifi Network, switch to 4G, use an VPN, reboot. None of them works

Tried other language, it's still the same

I'm using Google as an "Translation Service Provider". I'm have Google Translate app installed too...

Also, can I manually download an Language Pack somewhere and import it to AllTrans?

p/s: My English is not very good...
[Xposed Framework Modules] viberiaz:
Only version 1.4.0 is work for me

After trying all apk from 1.6.0-1.92 nothing work in my samsung j5 2016. But 1.4.0 is still working with azure api key. Im on magisk and exposed. In magisk superuser tab there is no Alltrans. But it is available in superuser when using 1.4.0
[Xposed Framework Modules] akhilkedia94:
Can you try clearing "App Data" of AllTrans? Some phones have this option as "Clear Data" in the system "Settings". If this does not work, please send me a log of you trying to download the language files.

No you cannot download and import the language pack - this is due to a limitation of Google's APIs..
[Xposed Framework Modules] andrizmitnick:
latest version won't show all my apps (only system apps, exposed, and alltrans itself), but version 1.4 shows them just fine. any clue what's wrong? android 11, latest exposed R, magisk canary

thanks before
[Xposed Framework Modules] akhilkedia94:
Android 11 introduced a new permission scheme, so I need to add that permission to the AllTrans for you to see other apps.

Edxposed is currently not officially released for android 11, once it is released i will update AllTrans (in case some other changes are also needed.)

See the permission below - https://developer.android.com/reference/kotlin/android/Manifest.permission#query_all_packages
[Xposed Framework Modules] Damianek420:
[MENTION=7220834]akhilkedia94[/MENTION]

Finally, I found a way to run Live captions on my device (I just changed my fingerprint to pixel one ) because your application is matching with it perfectly ! But unfortunately, after plugging alltrans into "Google personalisation services" there is no way to translate it (aggressive or normal). Debug mode in logcat does not see it either. Maybe because it is a service . Could you try to integrate with this apk /service ?

Here a short video of how it works:

https://youtu.be/hPv1PkjJ-J0
[Xposed Framework Modules] andrizmitnick:
it's actually working, the trick was to open the app which wants to be translated first and then go back to alltrans, now the app will show up in the list.

but i need help, it was working for like 3/4 days, but somehow today it won't translate anything anymore, the cache was there but it just won't translate any new text.

i already clear cache inside the alltrans app option, regenerating microsoft key, using yandex key, also trying multiple stuff like reinstalling even from magisk module, then exposed manager itself, and many more.

but still it doesn't work, weird, it was working just fine for days.

do you have any clue why it behave like this?

i attached the log. thanks before

UPDATE:

it was actually an issue with my API key, i had to recreate a new one on azure, it works fine now
[Xposed Framework Modules] akhilkedia94:
Its probably system-ui that is displaying that message. You could try translating System-ui to see if that works. YOU SHOULD PROBABLY BACKUP YOUR PHONE BEFORE TRANSLATING SYSTEM-UI.

I could find any information on which package exactly displayes the caption overlay, so I cannot help you more than this.
[Xposed Framework Modules] akhilkedia94:
AllTrans is now updated for Android 11!

You can download it from Play Store at

AllTrans - Translate Other App - Apps on Google Play

An Xposed module which translates *all* text in an app to another language

play.google.com

or from Github at

Releases · akhilkedia/AllTrans

Completely Translate Android apps in-place aka Google translate in Chrome - akhilkedia/AllTrans

github.com

I cannot upload to Xposed Repo right now as XDA is facing issues, but hopefully I will upload it to Xposed Repo over the next few days.
[Xposed Framework Modules] Antidote03:
any one can give microsoft api key for translation i couldnt get coz no visa , its free but still i couldnt or if there any other way to get it
[Xposed Framework Modules] Tenjin123:
Well just a whimsy idea of mine is it possible to replace the translation files with the one google translate app uses like this one (already unpacked on the right side) is it Possible?
[Xposed Framework Modules] akhilkedia94:
Feel free to try, but I do not expect it to work. Even a very small change in the translation model will make the files not work, so.
[Xposed Framework Modules] matthew.bridell:
I'm using this for WhatsApp, but when it does a backup the app will crash and I have to go into alltrans and turn off translation, let it backup and then turn translation back on. Any way to fix this? Also I think it's related, I no longer get WhatsApp notification.
[Xposed Framework Modules] Tenjin123:
Ye it didn't work I was actually getting desperate because I'm using it on a chinese novel app and translation kinda feels sloppy so I kinda had that kind of whimsy idea
[Xposed Framework Modules] akhilkedia94:
Try Microsoft, you will need an API key but the translation quality is much better.
[Xposed Framework Modules] SkylarDiMicah:
Works perfect again! :)

I am on 11. But it stopped working for me on 10, I think the problem was with Xposed.
[Xposed Framework Modules] akhilkedia94:
Can confirm the notification stops working - This is because I tried to add notification translation in the recent versions, and that does not seem to always work properly. I will add an option to disable notification translation, maybe even keep it off by default.

I will look into the whatsapp crash.
[Xposed Framework Modules] akhilkedia94:
You need to provide me with logs to help me understand what is wrong. The app still works perfectly for me. Are you on Android 11 by any chance?
[Xposed Framework Modules] akhilkedia94:
The latest version is now uploaded to Xposed Repo as well as Play Store now that Xposed Repo is working again.
[Xposed Framework Modules] purgy:
It is? Does that require a new version of edxposed manager?

I'm using 4.6.0 pre 45758, and it doesn't show anything newer than +30 days
[Xposed Framework Modules] akhilkedia94:
The Xposed repo website works. For any issues with edxposed manager, you can search on its thread, I cannot help you there.
[Xposed Framework Modules] pupido:
I installed this module and then used it with Samsung's Good Lock app on my Note 9 running Android 10.

I noticed that it only translates the main voices but not the secondary ones. Is this normal?

Also, I saw that the Goog Look app is now no longer in the list of apps to translate? How come? Where did it go?
[Xposed Framework Modules] SHKOMAGDID:
Hello does anyone know what apps should this app hook to for it to work with lsposed?
[Xposed Framework Modules] christantoan:
I just hook it with the apps that needs translation and it works
[Xposed Framework Modules] shivam0909:
I don't know what went wrong but taobao stopped translating all of a sudden. I tried all the methods.
[Xposed Framework Modules] X4c3:
I used the free signup for 12 months with 200 USD credits, will I get charge after 12 months?
[Xposed Framework Modules] Zincoshine:
What do you mean? I did exactly this and it failed to do anything. Are you sure you didn't hook it to something else besides the app you want translated?
[Xposed Framework Modules] christantoan:
Yes. Only the apps I needed and nothing else.
[Xposed Framework Modules] Zincoshine:
ok, apparently it works, it just took the app a bit of time to start getting translated. Awesome!
[Xposed Framework Modules] zahir.dk:
Any chances of this working on Android 12 without root? I tried but could not get it to work.
[Xposed Framework Modules] akhilkedia94:
If you are using TaiChi, the latest version is currently broken on TaiChi due to a signature mismatch issue. Use the second-last release instead. Other non-root xposed methods, such as VirtualXposed, Sand Virtual Xposed, SPatch, Xpatch, should work fine.

I have not tested AllTrans on Android 12 yet, so your mileage may vary.
[Xposed Framework Modules] zahir.dk:
Just for confirmation, out of the 3 modes for translate, I only tried the on device free translate method. That should work right? or should I check Microsoft method?
[Xposed Framework Modules] akhilkedia94:
Yes, as long as you (automatically) download the required files by setting the To and From languages in Preferences, the on device free translate method should work.
[Xposed Framework Modules] Damianek420:
@akhilkedia94

I have an idea:could you implement the possibility of double clicking on the translated text to undo or vice versa translate only fields that have been double clicked. It can also be a longtap, for example

Please also consider to create a Telegram group / channel there are much better at communication.
[Xposed Framework Modules] akhilkedia94:
I have an update for this app, with support for newer apps, and bugfix for crashing on notifications!

THIS VERSION TEMPORARILY DOES NOT SUPPORT VIRTUALXPOSED OR TAICHI

Fixed translating newer apps built for Android 11! Fixed crashing on Notifications, now Translates Notifications too!

Tested with LSPosed and Android 11.

Misc. BugFixes

Download from LSPosed Modules repository inside the LSPosed app, or from github at https://github.com/akhilkedia/AllTrans/releases
[Xposed Framework Modules] Lord Sithek:
Thanks. I saw something about Telegram app in the instructions but I wonder: Does it mean it should translate the messages in the chat too? If yes, I can't get it work although I use Agressive Mode
[Xposed Framework Modules] akhilkedia94:
Telegram app did use to work on using the Agressive Mode in the past. I tested just now and can confirm it no longer translates chat messages. I will try and see what is the issue..
[Xposed Framework Modules] Lord Sithek:
Thanx a lot! I follow some Chinese groups and would be much easier to know what happens there :LOL:
[Xposed Framework Modules] akhilkedia94:
Telegram app has native translate support in its latest release, perhaps you can use that.
[Xposed Framework Modules] Lord Sithek:
Yes, I know, I even use other Telegram client with translation support, but anyway it requires to select every single message to perform the operation. And if the messeges are flowing and flowing, it's pain in the ass 😅
[Xposed Framework Modules] sachin karinki:
This app working on A12 Derpfest rom with Magisk Canary (zygisk) and Lsposed.

But it only translating app text its not translating messages of that apps text, example telegram Cool apk etc.
[Xposed Framework Modules] 1maaax:
i haven't been able to get translations to work. i'm on a10 with magisk 24.1 using zygisk lsposed. i've tried following the troubleshooting steps but nothing works. something i've noticed is every time i select which language to translate to/from, (after the first time downloading), it asks to download, and immediately after pressing download now it says that the files have been successfully downloaded. not sure if that has anything to do with it.
[Xposed Framework Modules] RootedLee:
@akhilkedia94 In older Android versions I've been running some apps in languages other than my system language with the Xposed module WeiJu (and before even with App Locale, then App Locale 2). Difference to your app is that any defined app is simply told to use a language which is already pre-installed with the app whose language shall be changed.

All mentioned apps have been discontinued by their respective devs, are not (fully) compatible with current Android or/and LSPosed anymore, and/or are discontinued.

My kind request to you: could you add a function that your app also can simply set pre-existing languages of an app, so it doesn't need to be translated, which is superfluous in that case?
[Xposed Framework Modules] akhilkedia94:
Please see the instructions on how to upload a log file.

The downloading languages showing again you can ignore - I just never added a check to not show downloading languages if they are already downloaded. The translations not working is unrelated to this.
[Xposed Framework Modules] akhilkedia94:
You can give this one a shot - https://github.com/ekibun/XposedAppLocale

or this - https://github.com/leohearts/XposedAppLocale

Or this ideally - https://modules.lsposed.org/module/ru.bluecat.android.xposed.mods.appsettings

Doing this is beyond the scope of AllTrans, and I do not think I will ever implement it.
[Xposed Framework Modules] RootedLee:
Thanks @akhilkedia94 I had already stumbled upon and tried both of the App locale forks you linked, but they are both made for Android 10 and don't have any effect with LSPosed in LineageOS 18.1/ Android 11. I'm already in communication with Leohearts.

App Settings Reborn: even the Android 11 edition of it uses different hooks than App locale, leading to an incompatibility with one of my apps. I've also tried it before writing to you.

So as it looks like right now, best prospect for me is to find somebody who can get the abandoned WeiJu Xposed Module working with LSPosed and current Android (10-12).
[Xposed Framework Modules] RootedLee:
SOLVED: the WeiJu dev sent me an updated version :). Whoever is interested can find it in this posting of mine.
[Xposed Framework Modules] oldman20:
I tried but not wworking with LSPosed android Q
[Xposed Framework Modules] arsagar1729:
All trans is not working for any app.

using google translate api

Example app:- reddit

App link

Reddit – Apps on Google Play

See what the internet is talking about! Breaking news, fun gossip, Q&As & more!

play.google.com

phone:- redmi note 7 pro Android 10

Magisk 24.3

lsposed zygisk
[Xposed Framework Modules] Akbar KanColle:
Not work please updatw
[Xposed Framework Modules] oldman20:
Guys, if v1.9.5 doesn't working for you, just try downgrade to v1.9.3! For me, it working
[Xposed Framework Modules] Akbar KanColle:
Api key please
[Xposed Framework Modules] xerel89:
Not working for me on lineage 18.1 on redmi note 9 pro
[Xposed Framework Modules] xerel89:
Dude this version is also not working...
[Xposed Framework Modules] motbot:
Hey, did u find a fix?
[Xposed Framework Modules] motbot:
Is this dead on android 12 and above?
[Xposed Framework Modules] pablo332:
yes and the developer is gone, we need a new one to update this app to the new versions, in the Barinsta group on Telegram one made himself available to get the app and fix it in May, I hope it happens