YiiGuxing / TranslationPlugin

Translation plugin for IntelliJ based IDEs/Android Studio.
https://intellij-translation.yiiguxing.top
MIT License
11.26k stars 784 forks source link

谷歌翻译无法访问 #2051

Closed jjscx closed 1 year ago

jjscx commented 2 years ago

📝 问题描述

更新tkk失败,请检查网络

网络是正常的

🏷 插件版本

3.3.5+203u212

🔁 翻译引擎

谷歌翻译

💻 IDE及运行环境

IntelliJ IDEA 2021.1.3 (Ultimate Edition)
内部版本号 #IU-211.7628.21,June 30, 2021 构建
Licensed to IntelliJ IDEA Evaluator
到期日期: October 28, 2022
运行时版本: 11.0.11+9-b1341.60 amd64
VM: OpenJDK 64-Bit Server VM,JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Non-Bundled Plugins: com.intellij.ideolog (203.0.30.0), com.intellij.zh (211.311), com.mzyupc.a-redis (beta-0.7.0), io.zhile.research.ide-eval-resetter (2.3.5), VisualVMLauncher (1.21.211.6085.0), org.intellij.gitee (2021.1.0), org.jetbrains.plugins.vue (211.7142.13), org.jetbrains.kotlin (211-1.6.21-release-334-IJ7442.40), JProfiler (19.3), cn.yiiguxing.plugin.translate (3.3.5+203u212), com.baomidou.plugin.idea.mybatisx (1.5.4)
Kotlin: 211-1.6.21-release-334-IJ7442.40

📋 堆栈跟踪

No response

oogleabcd commented 1 year ago

我用的梯子无法使用,无解极其不方便

image

有梯子,设置自动代理就好了。

SaltedFish-Extreme commented 1 year ago

我现在用这个谷歌翻译ip测速工具,把速度最快的ip加到hosts里面,就能用谷歌翻译了😉

emptyurmind commented 1 year ago

IDEA里面设置一下代理就可以啦😁

YUXIKUN commented 6 months ago

开了clash 微软翻译就不可用,不开就可用,想过滤掉域名拿不到域名怎么办,抓包抓不到这个接口的信息

YiiGuxing commented 6 months ago

开了clash 微软翻译就不可用,不开就可用,想过滤掉域名拿不到域名怎么办,抓包抓不到这个接口的信息

@YUXIKUN

edge.microsoft.com
api.cognitive.microsofttranslator.com
CoffeeMaoMao commented 4 months ago

我是在idea的settings里找到proxy设置选手动设置127.0.0.1 指定clash的端口保存以后就不报这个错误,正常翻译啦

实测2024 1.1 版的IDEA,在设置里搜索代理,选自动检测代理设置,就可以正常使用谷歌翻译了