For a bunch of different reasons, many sites will try to guess where you are located based on your IP address. One misguided thing some sites do is select language based on that lookup.
Although it wouldn't surprise me if some countries try to legislate about that and everyone with an international presence has to do it.
the technology is called IP Geolocation. IP addresses are able to be resolved to countries, cities, towns and in some cases more granular than that, depending on the ISP. since around ten years ago but databases have matured since then. what I was trying to get at was masking your actual IP address by way of proxy server or VPN, to make it appear as if you are connecting from another place. it also aids anonymity and bypassing geoblocked content