pot-app / pot-desktop

🌈一个跨平台的划词翻译和OCR软件 | A cross-platform software for text translation and recognition.
https://pot-app.com
GNU General Public License v3.0
10.09k stars 460 forks source link

[Feature] Add support for Bergamot Translator #586

Open Tarek-Hasan opened 11 months ago

Tarek-Hasan commented 11 months ago

Description

Bergamot Translator is a research project of a few EU universities and Mozilla foundation. And currently ships with Firefox browser.

Application Scenario

It's an open source project. It works offline therefore privacy friendly. So, it would be a great addition to Pot Desktop.

References

https://github.com/browsermt/bergamot-translator https://github.com/browsermt/students https://github.com/XapaJIaMnu/translateLocally

Pylogmon commented 11 months ago

Looks good:)

Tarek-Hasan commented 11 months ago

While you are at it, you can also add Apertium. A long-running open source translation platform. I was surprised that Pot does not already contain support for Apertium.

References: https://github.com/apertium https://github.com/apertium/apertium-simpleton https://github.com/ONLYOFFICE/onlyoffice.github.io/tree/master/sdkjs-plugins/content/apertium

Pylogmon commented 11 months ago

For offline translation I tend to support through plugins, I haven't had time to do this recently, if you're interested, Try to look at the documentation for pot plugin development.