[Share Experiences] 教你继续使用Google 翻译
Tofloor
poster avatar
jjcui8595
deepin
2022-10-28 18:25
Author

前段时间很多小伙伴反映,浏览器的网页翻译功能不能用了,这是由于谷歌翻译不再向大陆用户提供支持造成的。有坛友推荐过修改 hosts 文件、更换Google翻译服务器IP的方法(https://bbs.deepin.org/post/243959),但由于文中提供的国内服务器后来也停止服务,所以这种方法很快也就不能用了。如果想继续使用Google翻译,其实最简单的方法是换用国外服务器。

sudo vim /etc/hosts,在文末加入 xxx.xxx.xxx.xxx translate.googleapis.com(xxx.xxx.xxx.xxx用下面的ip地址代替),保存并退出

sudo /etc/init.d/networking restart,重启networking

google翻译国外ip(建议写入hosts前ping一下,以确认是否可用)

142.251.5.90
142.250.136.90
142.250.12.90
142.250.101.90
172.217.192.90
142.250.0.90
142.250.107.90
172.217.204.90
142.250.28.90
142.250.125.90
172.253.124.90
142.250.8.90
142.250.128.90
142.250.112.90
142.250.27.90
142.250.105.90
172.253.126.90
172.253.123.90
172.253.62.90
142.250.98.90
142.250.110.90
172.217.203.90
172.253.112.90

Reply Favorite View the author
All Replies
whoam1
deepin
2022-10-28 20:59
#1

142.250.110.90172.217.203.90 这两个测试可用,其他的测试不通

Reply View the author
jjcui8595
deepin
2022-10-28 21:10
#2
whoam1

142.250.110.90172.217.203.90 这两个测试可用,其他的测试不通

感谢测试like

Reply View the author
2023开始学习
deepin
2022-10-28 21:37
#3

我第一次换过ip又不能用了,服务器原来是服务器问题。已经换edge,熟悉了操作,现在两个都用。谷歌损失一个用户 。

Reply View the author
jjcui8595
deepin
2022-10-28 21:59
#4
whoam1

142.250.110.90172.217.203.90 这两个测试可用,其他的测试不通

换了一批,目前都是可用的

Reply View the author
jjcui8595
deepin
2022-10-28 22:03
#5
2023开始学习

我第一次换过ip又不能用了,服务器原来是服务器问题。已经换edge,熟悉了操作,现在两个都用。谷歌损失一个用户 。

我换了EDGE,翻译的确可用。但删除系统自带的浏览器,就会自动删除DDE,无奈只好找可用IP用自带浏览器了

Reply View the author
wyz144343
deepin
2022-10-29 17:05
#6

必须顶一个,已经用上了。 agree

Reply View the author
deepin-chinaren
deepin
2022-10-29 21:17
#7

为什么只有edge浏览器可以用翻译,其他浏览器不行了,自带的浏览器和360都不能翻译了?

Reply View the author
来自Ubuntu的某位用户
deepin
2022-10-29 23:21
#8
deepin-chinaren

为什么只有edge浏览器可以用翻译,其他浏览器不行了,自带的浏览器和360都不能翻译了?

Deepin自带浏览器和360都基于Chromium,多数基于Chromium的浏览器翻译功能都是通过Google Translate的API实现的

Google Translate退出中国市场后,谷歌翻译和需要调用谷歌翻译API的功能都不能用了

Reply View the author
晚秋(lateautumn)
Moderator
2022-10-30 19:07
#9

谢谢分享kissing_heart

Reply View the author
jjcui8595
deepin
2022-10-30 20:05
#10
wyz144343

必须顶一个,已经用上了。 agree

joy

Reply View the author
jjcui8595
deepin
2022-10-30 20:07
#11
deepin-chinaren

为什么只有edge浏览器可以用翻译,其他浏览器不行了,自带的浏览器和360都不能翻译了?

EDGE用的微软翻译,其他浏览器用的谷歌翻译

Reply View the author
jjcui8595
deepin
2022-10-30 20:07
#12
晚秋(lateautumn)

谢谢分享kissing_heart

共同学习

Reply View the author
艾美丽卡
deepin
2022-11-05 20:51
#13
来自Ubuntu的某位用户

Deepin自带浏览器和360都基于Chromium,多数基于Chromium的浏览器翻译功能都是通过Google Translate的API实现的

Google Translate退出中国市场后,谷歌翻译和需要调用谷歌翻译API的功能都不能用了

QQ浏览器用的可能是搜狗或腾讯自己的翻译,谷歌翻译撤了,浏览器网页翻译就搞不了的浏览器都是垃圾,说实话

Reply View the author
bigben446
deepin
2022-11-06 08:50
#14

可以使用腾讯翻译的crx插件,一键网页翻译

Reply View the author
jjcui8595
deepin
2022-11-06 14:43
#15
bigben446

可以使用腾讯翻译的crx插件,一键网页翻译

谢谢,我抓空试试

Reply View the author