soimort / translate-shell

:speech_balloon: Command-line translator using Google Translate, Bing Translator, Yandex.Translate, etc.
https://www.soimort.org/translate-shell
The Unlicense
6.85k stars 388 forks source link

Offline translate? #323

Open mav1 opened 4 years ago

mav1 commented 4 years ago

Is there a way to translate with google offline? There are language packets, for example, for android:

https://support.google.com/translate/answer/6142473?co=GENIE.Platform%3DAndroid&hl=ru&oco=0

Is there a way to use them and translate with translate-shell offline?

soimort commented 4 years ago

It's not available for desktop computers, not an open format, and strongly bound to Google's own Translate app. Unlike the web interface, I can't have any knowledge about how it works without some laborious reverse engineering.

I don't think I'd have much time on cracking this kind of stuff at the moment. Alternative solutions can be #142. But meanwhile, why not just use the Google Translate app directly?

mav1 commented 4 years ago

I want to use translate-shell on my centos server without internet, because google bans my ip after some number of quick requests. Maybe there is a way to emulate android apk on centos))) so the problem is opened

mav1 commented 4 years ago

I will try apertium, thanks