Restore Chrome’s Built‑in Google Translate by Editing Your Hosts File
This guide explains how to fix Chrome’s broken automatic translation after Google shut down its China services by locating the hosts file on Windows, macOS, Linux or Android, adding specific IP mappings, and using alternative IPs if needed.
Recently Google abruptly shut down the China versions of Google Translate and Google Maps, citing low user usage; the shutdown affects not only the web services but also related functionalities.
For example, Google Chrome, one of the most popular browsers in China, has its built‑in automatic page translation feature directly impacted, leaving many users without a convenient way to translate foreign‑language webpages.
This article presents a solution: modify the hosts file to map Google Translate API domains to IP addresses that remain reachable.
The hosts file is a system file without an extension that defines mappings between IP addresses and hostnames.
First, locate the hosts file:
Windows: C:\Windows\System32\drivers\etc\hosts macOS or Linux: /etc/hosts Android: /system/etc/hosts Open the file with any text editor. On macOS or Linux you can use the command sudo vi /etc/hosts to edit it and append the following lines at the end:
# Google Translate service IP
113.108.239.162 translate.google.com
113.108.239.162 translate.googleapis.comAfter adding these entries, Chrome’s translation feature works again.
Alternative IP addresses can be used if the above become unavailable:
# Backup Google Translate service IP
203.208.39.226
120.253.253.34
142.250.66.138
142.250.0.90Note that this modification only restores the translation function of the Chrome browser and does not enable access to the web version of Google Translate at translate.google.com .
Reference documents
https://www.google.com
https://www.williamlong.info/archives/6947.html
https://www.iplaysoft.com/fix-chrome-translate.html
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
MaGe Linux Operations
Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
