Feature #1129
openImplement Translate API
0%
Description
Why I need¶
My friends & some of my family liked Privacy Browser, but they're expecting automatic webpage translate in native language script like how google does in chrome.
Possible Solution¶
There's LibreTranslate API
https://libretranslate.com/
Already used by minbrowser on linux.
Files
Updated by Soren Stoutner 12 months ago
Using a cloud translation service has significant privacy implications. I cannot imagine that I would ever implement it into Privacy Browser.
Google has been working on implementing an on-device translation service.
https://developers.google.com/ml-kit/language/translation
If they ever integrated this with WebView I would be happy to enable it.
Updated by Soren Stoutner 12 months ago
Just as a side note about LibreTranslate, they use Google Analytics to track you, which means that Google also gets all the tracking information. ;)
Updated by ask low 12 months ago
Sad. Btw, on-device translation is only possible through AI with dedicated NPU (neural processing unit) on the device. If not, the whole dictionary translation mechanism offline locally takes a heck lot of storage.
Although, I hate AI so much. Not because it's taking our jobs, but because it's a black box. You throw your garbage data to it & it spits out the answer based on the prompt complexity. Such an absurd lazy idea.
Updated by Soren Stoutner 9 months ago
Google is making a lot of noise about implementing on-device translation. If they do that it can be integrated with WebView, then I would love to enable it in Privacy Browser.
https://support.google.com/translate/answer/6142473?hl=en&co=GENIE.Platform%3DAndroid
Updated by Soren Stoutner 9 months ago
It all depends on how Google ends up implementing it. As it is, it is not open source and there is no way to integrate it with WebView. But that might change.
Updated by Soren Stoutner 9 months ago
If it is a non-free service, I will not use it. But if it becomes a standard, open Android API, then I would use it. And F-Droid would not have any problem with that (in fact, a lot of F-Droid apps would probably use it).
Updated by Soren Stoutner 9 months ago
That's what this is waiting on. It is one of the things Google teased with their release of the Tensor processor. Even if Google doesn't implement a FOSS on-device translator, someone else might.
Until then, Privacy Browser Android will not include any sort of built-in translation, because using any type of service compromises the privacy of the users.