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

Implement on-device page translation #2479

Open
ccybc opened this issue Aug 4, 2024 · 4 comments
Open

Implement on-device page translation #2479

ccybc opened this issue Aug 4, 2024 · 4 comments

Comments

@ccybc
Copy link

ccybc commented Aug 4, 2024

I want to integrate local translation, the network translation speed is too slow 。Where did the translation change to local?

@ccybc
Copy link
Author

ccybc commented Aug 4, 2024

Libre Translate

@PalmerAL
Copy link
Collaborator

PalmerAL commented Aug 4, 2024

The translation feature has always used LibreTranslate (we run our own instance: https://translate-api.minbrowser.org/).

It would be super cool to make it run offline, probably by using the same models that Firefox does: https://github.com/mozilla/translate. Contributions are welcome on this!

@ccybc
Copy link
Author

ccybc commented Aug 5, 2024

I'm from China, and LibreTranslate is too slow to work through the Internet.
China has not yet found a particularly good browser to translate the entire web page, or Microsoft EDGE, which is too slow to translate. I want LibreTranslate to be configured locally, even if it's bigger

@PalmerAL
Copy link
Collaborator

PalmerAL commented Aug 6, 2024

If you set up your own instance of LibreTranslate, you can change the URL used in Min here:

apiURL: 'https://translate-api.minbrowser.org/translate',

@PalmerAL PalmerAL changed the title Whether the translation is local or requires a network? Implement on-device page translation Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants