3 ms·
There are lots of dirty tricks to determine the user's preferred language, which work for 95% of the population, and unfortunately are sometimes very frustratin
by stncls 3y ago
There are lots of dirty tricks to determine the user's preferred language, which work for 95% of the population, and unfortunately are sometimes very frustrating for the rest.
For example, some browsers default to en-US, so as a response, websites (mainly: google) ignore that locale and fall back to geoip-based guessing in that case.
One workaround is to explicitly set a locale other than en-US, yet an acceptable one. I personally choose en-CA. One side-benefit is SI measurement units.