自 2022 年 9 月 28 日起,谷歌翻译退出了中国市场,能否回归我们不得而知。
表现为 https://translate.google.cn 打开后会显示 translate.google.com.hk,
不再是真正的谷歌翻译网站,国内所有使用谷歌翻译的软件都受到了影响。
这也导致卖家精灵插件导出评论、Q&A等没有了中文翻译,同时Chrome内置的页面翻译也不能使用。
我们根据用户的反馈整理了以下解决方案,无论这些方案是否有效,请在下方给我们留言反馈,我们会根据反馈及时做出调整。
方案A(推荐):使用梯子
(什么是梯子?)
由于谷歌翻译已退出中国市场,所以稳定且长期的方案是使用梯子连接到国外的谷歌翻译。
将 translate.googleapis.com 设置为走代理即可。
设置方法请阅读梯子服务方提供的文档,或询问梯子服务方客服,也可通过搜索引擎搜索设置方法。
设置好了之后,请阅读 测试谷歌翻译是否恢复正常
方案B:修改hosts(无需梯子)
虽然谷歌翻译退出了中国市场,但目前暂时可以通过修改 hosts 的方式连接到国内的谷歌翻译。
* 注意:谷歌翻译正在逐步关闭国内服务器,所以 IP 地址会不断失效.
这也可能导致出现修改 hosts 之后过了一段时间(可能是几天,也可能是几个月)谷歌翻译就又不能用了的情况。
当 IP 失效时,我们会尽量寻找新的可用 hosts 规则 更新在下方,届时您需要重新更新一下 hosts。
但也许某天所有规则都会失效,所以建议提前准备好梯子使用前面的方案。
Windows
“以管理员身份运行“ 系统自带的“记事本”程序,通过其菜单中的【打开】按如下路径打开 hosts 文件:
* 注意,记事本程序默认只显示文本文件,需要将“文件类型”选为【所有】才能看到 hosts 文件
C:\Windows\System32\drivers\etc\hosts
然后将 hosts规则库 (文章最后)粘贴到 hosts 文件中的最后一行并保存。
如果保存时提示无权限,请参考百度 (比如:修改hosts没有权限)给 hosts 文件添加权限后再重新修改 hosts。
保存后,关闭浏览器,然后重新打开浏览器,然后阅读 测试谷歌翻译是否恢复正常
* 如果今后想要删掉这些规则,和添加时的操作一样,打开 hosts 文件将其删除即可。
MacOS
打开app store,搜索ihost或点我打开,然后安装软件。
根据软件提示修改hosts规则 (文章最后),还是不会操作?
保存后,关闭浏览器,然后重新打开浏览器,然后阅读 测试谷歌翻译是否恢复正常
* 如果今后想要删掉添加的这条规则,和添加时的操作一样,打开 ihost 软件将添加的规则删除即可。
hosts规则库
(更新于2022/10/26 18:44)
142.250.100.90 translate.googleapis.com
142.250.31.90 translate.googleapis.com
172.253.115.90 translate.googleapis.com
172.217.222.90 translate.googleapis.com
142.250.105.90 translate.googleapis.com
172.217.214.90 translate.googleapis.com
108.177.122.90 translate.googleapis.com
142.250.97.90 translate.googleapis.com
172.253.112.90 translate.googleapis.com
142.250.28.90 translate.googleapis.com
142.250.4.90 translate.googleapis.com
172.217.192.90 translate.googleapis.com
142.250.12.90 translate.googleapis.com
142.250.27.90 translate.googleapis.com
142.250.30.90 translate.googleapis.com
142.250.107.90 translate.googleapis.com
142.250.128.90 translate.googleapis.com
142.250.111.90 translate.googleapis.com
142.250.101.90 translate.googleapis.com
142.250.110.90 translate.googleapis.com
142.250.0.90 translate.googleapis.com
142.250.136.90 translate.googleapis.com
172.217.204.90 translate.googleapis.com
142.250.126.90 translate.googleapis.com
142.250.125.90 translate.googleapis.com
142.250.11.90 translate.googleapis.com
172.253.114.90 translate.googleapis.com
172.253.116.90 translate.googleapis.com
142.251.5.90 translate.googleapis.com
142.250.112.90 translate.googleapis.com
142.250.8.90 translate.googleapis.com
142.250.98.90 translate.googleapis.com
142.250.10.90 translate.googleapis.com
142.250.9.90 translate.googleapis.com
172.253.124.90 translate.googleapis.com
142.250.96.90 translate.googleapis.com
142.251.9.90 translate.googleapis.com
172.217.215.90 translate.googleapis.com
172.253.126.90 translate.googleapis.com
172.253.62.90 translate.googleapis.com
172.253.123.90 translate.googleapis.com