You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried your app but the Translation quick tile did not work at all, so I cloned this repo and debug it, and here is what I found.
I still don't know if this also affects other devices too, but on my device which uses Bahasa Indonesia as UI language. The event.text in this code attached below, only contains 1 "Bayangan pemberitahuan" string in it's array (translation of "Notification shade"). therefore the screenshot and translate function would not be called because it did not contain "Notification shade" string in it.
However, even after I found the cause, I still don't know how to safely fix this part that works for all devices. maybe you can find something about it?
Additional Info
Device Model : Nokia X30 5G
Device ROM : Android One 14
Device Language : Bahasa Indonesia ( Indonesian )
App version : 0.0.7 ( or commit b009e3f since I used the repo version too )
The text was updated successfully, but these errors were encountered:
EmiyaSyahriel
added a commit
to EmiyaSyahriel/screen-translator
that referenced
this issue
Jun 13, 2024
I tried your app but the Translation quick tile did not work at all, so I cloned this repo and debug it, and here is what I found.
I still don't know if this also affects other devices too, but on my device which uses Bahasa Indonesia as UI language. The
event.text
in this code attached below, only contains 1"Bayangan pemberitahuan"
string in it's array (translation of"Notification shade"
). therefore the screenshot and translate function would not be called because it did not contain"Notification shade"
string in it.screen-translator/feature/translate/src/main/java/com/vamsi3/android/screentranslator/feature/translate/ScreenTranslatorAccessibilityService.kt
Lines 108 to 115 in b009e3f
However, even after I found the cause, I still don't know how to safely fix this part that works for all devices. maybe you can find something about it?
Additional Info
The text was updated successfully, but these errors were encountered: