News for hackers. Stuff that matters.
Re:Flags Are Not Languages by tpmoney on Sunday May 05, 2024 @11:23AM (#40265539)
On the other hand, where is the UI in the browser to specify your language preference for each individual site? A person might have a general language preference, but might prefer to read particular sites in an alternate language, e.g. for practice learning a language. Firefox offers the option to specify an order of preferred languages globally, but as near as I can find, no way to specify on a per-site basis.
Re:Flags Are Not Languages by ryandrake on Sunday May 05, 2024 @11:44AM (#40265681)
Interesting! I never considered the case you and the other replier brought up where people might want to browse different sites in different languages. Learned something new today, thank you!

I suppose browsers could/should add support for this use case, none of the major ones do as far as I know.

At the very least, I maintain that sites should use Accept-Language: as a default, absent any site-specific configuration that they offer. One of the huge things I hate about Google and a few other sites is that they deliberately ignore my Accept-Language: header and instead rely on IP-Geolocation. So if I'm traveling in another country, suddenly Google and those other sites change to a different language on me. Maddening.