windingwind / zotero-pdf-translate

Translate PDF, EPub, webpage, metadata, annotations, notes to the target language. Support 20+ translate services.
GNU Affero General Public License v3.0
7.62k stars 359 forks source link

[Feature] 请求添加LibreTranslate,也就是本地离线翻译的接口 #944

Open GanzorigKhun opened 2 months ago

GanzorigKhun commented 2 months ago

Is there an existing issue for this?

Environment

Describe the feature request

LibreTranslate属于本地离线运行的翻译,翻译接口为下面样子 Snipaste_2024-09-23_15-19-32 也就是url形式,一般为http://localhost:5008/或者http://127.0.0.1:5008/

Describe the solution you'd like

与其他翻译接口功能相似

Anything else?

No response

windingwind commented 2 months ago

请提供接口文档。另欢迎PR

GanzorigKhun commented 2 months ago

请提供接口文档。另欢迎PR

LibreTranslate项目地址为https://github.com/LibreTranslate/LibreTranslate 下面有描述,不知道是否有帮助

tzhang-dev commented 3 days ago

看起来很有趣, 我会试着 PR。似乎也能解决 #978