分享一个谷歌翻译的host

谷歌翻译使用不了 把系统的host添加一个谷歌的 就可以用了
hots路径:C:\Windows\System32\drivers\etc

注意ip后面的空格
216.239.32.40 translate.googleapis.com
216.239.32.40 translate.google.com

不行就更新dns:ipconfig /flushdns
我这一步没有也可以。

注意:目前测试谷歌浏览器的谷歌翻译插件、translate.google.com/、idea的Translation可以正常使用

6 Likes

谢谢分享,不翻墙的机器用上了

GitHub - GoodCoder666/GoogleTranslate_IPFinder: 谷歌翻译服务器在中国大陆的IP地址扫描、测速工具。 有个测试ip的小工具,可以直接写入host。

1 Like

感谢分享

mark

能给沉浸式的谷歌翻译用吗

先感谢后实践 :stuck_out_tongue_winking_eye:

我进行如上设置,并在Chrome中进行尝试,它是无效的。

还不错,看来能给没有代理的机器用

感谢分享,大家可以在楼主说的hosts文件里多加几个映射,如下所示:
216.239.32.40 translate.googleapis.com
216.239.32.40 translate.google.com
216.239.32.40 translate.google.cn
216.239.32.40 translation.googleapis.com
216.239.32.40 translate.google.com.hk
216.239.32.40 support.google.com
216.239.32.40 cloud.google.com
216.239.32.40 console.cloud.google.com

然后其他api使用之类的自行脑补了,就可以不用代理之类的了。很好的一点是,楼主提供的这个办法可以用google 的文件翻译。不错:smiley::smiley: