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

集成微软翻译引擎 #2157

Closed
FoundAdd opened this issue Oct 9, 2022 · 20 comments
Closed

集成微软翻译引擎 #2157

FoundAdd opened this issue Oct 9, 2022 · 20 comments
Labels
feature request ✨ Feature Request published 🚀 Published
Milestone

Comments

@FoundAdd
Copy link

FoundAdd commented Oct 9, 2022

需求/建议描述

谷歌翻译目前虽然可以通过修改host文件使用api,但是随时可能会再次被墙。

建议的解决方案

是否可以增加必应翻译等其他更多的引擎用于替代呢

附加信息

No response

@FoundAdd FoundAdd added the feature request ✨ Feature Request label Oct 9, 2022
@YiiGuxing
Copy link
Owner

有计划的,有太多的计划了🙃

@3473664996
Copy link

3473664996 commented Oct 13, 2022

有计划的,有太多的计划了🙃

有计划就好 Google 翻译越来越 难访问了

@chanjie
Copy link

chanjie commented Oct 22, 2022

有计划的,有太多的计划了🙃

赶紧加上必应,谷歌太验证的,国内的都是收费的

@YiiGuxing
Copy link
Owner

有计划的,有太多的计划了🙃

赶紧加上必应,谷歌太验证的,国内的都是收费的

大哥!我现在最需要的就是时间啊!!!

@xhc-code
Copy link

期待

@xhc-code
Copy link

感觉必应都比百度翻译强,是指翻译后的内容和语义性

@YiiGuxing YiiGuxing added the in progress 🚧 In Progress label Nov 20, 2022
@YiiGuxing YiiGuxing changed the title 能否增加一个必应翻译引擎呢 集成微软翻译引擎 Nov 20, 2022
@wilinz
Copy link

wilinz commented Nov 21, 2022

我已添加Edge web翻译引擎,晚点我提个pr

@YiiGuxing
Copy link
Owner

YiiGuxing commented Nov 21, 2022

我已添加Edge web翻译引擎,晚点我提个pr

@wilinz 啊~我已经在实现这个功能了。。。
image
而且都快完成了,你就别再浪费时间了,你在要实现之前应该先看一下标签的😂

@wilinz
Copy link

wilinz commented Nov 21, 2022

我就写了几个小时

@wilinz
Copy link

wilinz commented Nov 21, 2022

要不你看看代码,是不是和你添加的是同一个翻译引擎

@YiiGuxing
Copy link
Owner

@wilinz
是同一个的: https://github.com/YiiGuxing/TranslationPlugin/tree/v3.4/dev/src/main/kotlin/cn/yiiguxing/plugin/translate/trans/microsoft
只不过我没想到它的token是JWT的,我对token的过期时间没有正确地处理,感谢你的PR,至少它没有完全浪费掉,它修正了我对token过期时间的处理,哈哈😁😁😁

@wilinz
Copy link

wilinz commented Nov 22, 2022

@YiiGuxing 好的

@wilinz
Copy link

wilinz commented Nov 22, 2022

@YiiGuxing 还有要不要把微软翻译作为默认引擎

@YiiGuxing
Copy link
Owner

@YiiGuxing 还有要不要把微软翻译作为默认引擎

已设为默认的了

@wilinz
Copy link

wilinz commented Nov 22, 2022

嗯好

@xkcyy
Copy link

xkcyy commented Nov 23, 2022

@YiiGuxing 还有要不要把微软翻译作为默认引擎

已设为默认的了

image
我这里翻译显示的是英文,不能切换到中文

@YiiGuxing
Copy link
Owner

@YiiGuxing 还有要不要把微软翻译作为默认引擎

已设为默认的了

image
我这里翻译显示的是英文,不能切换到中文

还没有写完呢。。。

@YiiGuxing
Copy link
Owner

YiiGuxing commented Nov 25, 2022

兄弟们,终于开发好了: f38b621...b1c7733 ,希望它能一直用。
微软翻译一次可以翻译50000字符,对于大文档翻译真的太好用了。。。

@YiiGuxing YiiGuxing added ready for release ⌛ Ready for Release and removed in progress 🚧 In Progress labels Nov 25, 2022
@YiiGuxing YiiGuxing added this to the v3.4.0 milestone Nov 25, 2022
@wilinz
Copy link

wilinz commented Nov 25, 2022

兄弟们,终于开发好了: f38b621...b1c7733 ,希望它能一直用。 微软翻译一次可以翻译50000字符,对于大文档翻译真的太好用了。。。

啥时候发版

@YiiGuxing
Copy link
Owner

兄弟们,终于开发好了: f38b621...b1c7733 ,希望它能一直用。 微软翻译一次可以翻译50000字符,对于大文档翻译真的太好用了。。。

啥时候发版

快了,还在处理一些边边角角

@YiiGuxing YiiGuxing added published 🚀 Published and removed ready for release ⌛ Ready for Release labels Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request ✨ Feature Request published 🚀 Published
Projects
None yet
Development

No branches or pull requests

7 participants