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

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

Open
Martian746 opened this issue May 16, 2021 · 2 comments
Open

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

Martian746 opened this issue May 16, 2021 · 2 comments

Comments

@Martian746
Copy link

Martian746 commented May 16, 2021

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

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

@Martian746
Copy link
Author

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

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

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

@openlclub
Copy link
Member

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

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

No branches or pull requests

2 participants