bob-plugin-openl-translate icon indicating copy to clipboard operation
bob-plugin-openl-translate copied to clipboard

建议在 bob 插件中增加源语言选项

Open Martian746 opened this issue 3 years ago • 2 comments

刚发现,OpenL 的 API 原来是支持多种源语言的 Google 翻译的,测试通过 API("source_lang": "auto")也能正常 Google 翻译韩语。

但在现在最新 v0.0.5 的 bob 插件里(服务 > 文本翻译 > OpenL 的设置项)并没有提供源语言的选项,经 OpenL 使用 Google 翻译翻译韩语,Bob 设置的「自动检测⇋自动选择」,翻译结果显示「翻译失败,不支持原文语言为韩语」。

Martian746 avatar May 16 '21 01:05 Martian746

说到这,不如 "source_lang", "target_lang" 一起加上好了。

前者默认 "auto""en"(如无"auto"),后者默认 "zh"

以满足更多翻译语言需求。

Martian746 avatar May 16 '21 01:05 Martian746

感谢建议!会在下一个版本修正这个问题

openlclub avatar May 16 '21 17:05 openlclub