Home/Q&A/Machine is in the United States, so why does a site show another region or language?

Machine is in the United States, so why does a site show another region or language?

Updated · airankrush

Direct answer

Most likely it is not a problem with where the machine is. Websites do not decide the region from the exit address alone; they also look at the browser language, the details of the signed-in account and choices saved earlier. Only after ruling those out one by one is a mismatch in a geolocation database the likely cause.

Basis

  • Browser language: if the preferred language of the system or browser is set to a language other than the one your target users use, many sites simply serve the version in that language; this is separate logic from region detection. Change the browser's preferred language to the one your target users would use and try again.
  • Account details: when you are signed in, many sites go by the country or region entered when the account was registered and ignore the current network entirely. Sign out, or open a private window to compare.
  • Past choices: you or an earlier test picked a region by hand on the page, and the site stored that choice in a cookie. Clear that site's data and open it again.
  • Geolocation labeling: sites buy different IP geolocation databases, updates lag, and a residential broadband address range is occasionally labeled as somewhere else by an individual database. Comparing on a few geolocation lookup sites shows whether this is what is happening.

Information as of .

Boundaries: when the answer is different

If the site under test is your own, the quickest way is to look in the server log at which region this request was identified as and which field that was based on; that is faster than guessing from the browser side. When a geolocation database really is wrong, we cannot make a third-party database correct it, and we cannot switch you to an exit address of your choosing; the public exit may be shared with other machines and is not a fixed address, which is the nature of residential broadband. Send support the results from several lookups and the time so they can check. Do not install a proxy or change the network configuration to make the result “look right”: it is not allowed, and it also makes the test conclusion meaningless. The system time zone only affects how time is displayed and generally plays no part in region detection.

How to do it

  1. Open a private window and visit again, to rule out the signed-in state and past choices.
  2. Look at the Accept-Language request header the browser sends, adjust the preferred language to match your target users, and try again.
  3. Check on two or three geolocation lookup sites which country the current exit address is labeled as.
  4. Your own site: look up the region-detection field for this request in the server log.
  5. When the lookup results contradict one another, take screenshots, note the time, and contact support.

Use case

This question belongs to the use case: How can I test my site or app from a US network? Rent a real Mac in the United States

Other questions in the same use case:

Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support

Back to home · All Q&A