一键解决谷歌翻译不能使用问题
最近谷歌翻译关停了google.translate.cn最近谷歌翻译关停了google.translate.cn ,我的chrome 浏览器自带翻译功能呢瞬间不能使用了,虽然我的英文水平是六级,奈何当看到大面积的英文还是有点没耐性。
解决办法
- 修改本地host 文件 mac/linux 位于 /etc/hosts 文件中
113.108.239.162 translate.google.com
113.108.239.162 translate.googleapis.com
- 刷新dns 解析
ifconfig /flushdns
macos bigsure : sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
适配mac 其余机型链接:https://www.freecodecamp.org/news/how-to-flush-dns-on-mac-macos-clear-dns-cache/