2 ms·
If it's specifically that value that's a problem then I'd suggest the following heuristic: Use geolocation if `Accept-Language` is `en-US`, otherwise respect th
by pinum 8y ago
If it's specifically that value that's a problem then I'd suggest the following heuristic: Use geolocation if `Accept-Language` is `en-US`, otherwise respect the header.
Technical users in Switzerland/Japan/wherever who want to see English pages can set their header to "en-GB" or "en-AU" to avoid getting caught in the heuristic.
Edit: I'm sure it's much more complicated than that, of course- l10n isn't my job and I don't want to be this guy https://xkcd.com/1831/ https://xkcd.com/1831/