pulse-browser / browser

Pulse Browser: An experimental firefox fork
https://pulsebrowser.app/
Mozilla Public License 2.0
773 stars 46 forks source link

Integrate Linguist addon to enable offline pages translation #245

Open vitonsky opened 1 year ago

vitonsky commented 1 year ago

Let's integrate an Linguist addon to enable offline pages translation. Linguist uses Bergamot translator (project of mozilla), looks minimalist and have most powerful translation features:

FOSS and private translation it is important feature for any browser for people. Like powerful and non-commercial ad blocker like uBlock

trickypr commented 1 year ago

Thanks for your suggestion. It might be a little while before we can add it, because I will need some time to check over the code. All of the other add-ons included are big enough that someone else has audited (e.g. ublock) or I have a good idea of their internals (e.g. tabliss).

vitonsky commented 1 year ago

Of course. If you will have questions, you can add comments here or make issue about audit in a Linguist repository

surapunoyousei commented 1 year ago

On Firefox Nightly 115.0a1, Firefox include Translation feature (offline translation)

image

vitonsky commented 1 year ago

It's good news. However, as i know an embedded translator can only translate full page and nothing more.

For me it looks like embedded ad blockers in mobile browsers versus "uBlock Origin" - embedded ad blockers never works correct for me (and i think they are paid by ad platforms to add some ads to a whitelist), so i'm, as most of my friends always install uBlock origin, to ensure ads blocked well.

The same story with Linguist. It's powerful all-in-one translation tool focused on privacy. Users even can add their own custom translators, and i have plans (and research) to implement an offline translation of images on page. At the same time, Linguist is not an all-in-one tool for all, it focus to implement only most common features to translation, but never will be a combine that can clean your room unlike some other browser addons.

This is why i still think it is great idea to integrate Linguist to a browser used by geeks.