Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch the translation backend from LibreTranslate to Bergamot #2564

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

PalmerAL
Copy link
Collaborator

Bergamot is an open-source translation backend, the same one that is currently used by Firefox. Compared to LibreTranslate, the models are much smaller and faster to execute; this means we can perform the translation locally rather than uploading the page contents to a server, which is a nice privacy improvement.

In addition, for the languages it supports, the translation quality seems to be better than LibreTranslate; however, the number of supported languages is smaller. I think that removing support for some languages is an acceptable tradeoff, as the current translation feature often doesn't work very well anyway. It'd be great to get some feedback regarding the differences in translation quality though, if anyone has any.

Fixes #2479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement on-device page translation
1 participant