View Single Post
Old 07-02-2020, 07:58 PM   #3
aldazo
Enthusiast
aldazo began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1
Thanks for the reply.
Quote:
Originally Posted by pazos View Post
Nothing. The default translator uses google translate service/API. There's no way to make it offline...
Nothing. Offline translators are android activities and have their own UI
I mean, the default translator do queries in the online google translator but displays it using the koreader UI; I think it should be possible to make it use the offline google translator and display it using the Koreader UI, or I am missing something? Maybe I am confusing things?

Quote:
Originally Posted by pazos View Post
...KOReader in android can also do queries in 3rd party apps. There're a few supported by default (Colordict and goldendict support overlays, so they won't switch you to a different activity but display an overlay on top of KOReader activity) but if you like the look&feel of KOReader UI is better to use the built-in dictionary.
The default 3rd party apps are for dictionaries, but I prefer translators because they can translate phrases or sentences. However, I use the build in dictionary for synonyms and definitions.

Quote:
Originally Posted by pazos View Post
If you manage to find a good offline translator apk you can add support yourself following https://github.com/koreader/koreader...ictionary-list but that won't replace the "translate option" but the "dictionary option".
For my offline translator I use the "share" link when highlighting. But maybe I should look for an offline translator that support overlay like the apps you mentioned before. Will the overlay use the koreader UI or the 3rd party app UI?

As a side note, I used the "Customize dictionary list" tutorial to modify the Fora dict query. I have Fora dict installed but when I wanted to use the external dictionary the "Fora" box was disable (grey out), so after an inquiry I found that the dictionaries.lua reads "com.ngc.fora", but in my android the folder's name is "com.ngc.fora.android".

So I created a notepad with only this inside:
Code:
return {
     { "Fora", "Fora Dict", false, "com.ngc.fora.android", "search" }, 
}
and rename it dictionaries.lua and put it inside the koreader folder. Thankfully it solved the problem.
aldazo is offline   Reply With Quote