yanus171 / Handy-News-Reader

Handy News Reader is a light and modern Android feed reader, based on Flym News Reader
Other
195 stars 21 forks source link

In-app text translation. #276

Open ThomasLeigh opened 5 years ago

ThomasLeigh commented 5 years ago

Recently I switched from CoolReader to MoonReader to read e-books. Soon after I discovered a nice surprise: MoonReader turned out to be capable of text translation within its own window (though using third-party apps installed on Your device).

When I first used this feature, the app asked Me to choose from various supported dictionary apps - I chose ColorDict.

Note that I use Android 6 which does not support multi-window layout - but thanks to this MoonReader's feature I can enjoy it anyway :) . And it makes a significant difference that I don't need to switch between the apps whenever I want to translate something.

Here how it looks in action: on the video I show You how it is possible to translate the text via Handy NR through Android's 'share' feature - and then how I do similar thing with MoonReader:

watch the video

I'd like to ask would it be possible to implement such translation feature within Handy NR? It would be fantastic, especially given that not everyone has the Android supporting multi-window layout, which I'm not sure would solve this matter anyway.

ThomasLeigh commented 4 years ago

Maybe this could help - see Launching from Other Applications section on the bottom:

https://github.com/itkach/aard2-android

yanus171 commented 1 year ago

I should implement https://android-developers.googleblog.com/2015/10/in-app-translations-in-android.html?m=1

gautxori-yuyu commented 4 weeks ago

GoldenDict works perfectly with HandyReader, and it's a good choice as a dictionary for android.