News for hackers. Stuff that matters.
Re:Stop Guessing Languages Based on IP Address by Manishearth on Sunday April 23, 2017 @07:40AM (#14177740)
And when you download Firefox from Maharashtra (a state in India), you do not get the Marathi version. It is non trivial to enable Marathi (you need to download a language pack addon, folks who need this may not be technically sound enough or speak enough English to figure this out). Marathi is the 19th most spoken language in the world, with more than 14 times as many speakers as Norwegian. What I say for Firefox was true for all browsers last I checked.

So "at least for Norwegians" is correct; this doesn't generalize well at all.

To be fair, Google in India defaults to English anyway (it's complicated -- might have been a sensible choice in the past since you could assume that folks who use the net know English, but it is probably exclusionary now that everyone is coming online). But I'm sure what I said for Marathi works for many other languages.

Re:Stop Guessing Languages Based on IP Address by unhammer on Monday April 24, 2017 @08:42AM (#14183794)
Thanks for enlightening me :)

Even so, it seems like a bug that you aren't offered the Marathi version (or a choice between that and English) when you download Firefox from a Maharashtra IP. Maybe something to report to Firefox bugzilla? Btw, do you need to download additional language packs to get Windows or MacOS localised to Marathi when you buy a new computer there?

And what do you think of the UI-solution suggested in the blog post?

-----

Crazy alternative: Browsers typically include language detection libraries, used for detecting LTR/RTL status and spelling[1]. The default setting for Accept-Language could be based on the languages detected when the user types into spell checked text fields.

[1] Firefox doesn't do this for spelling yet, but I think Safari at least does https://bugzilla.mozilla.org/show_bug.cgi?id=1203024

Re:Stop Guessing Languages Based on IP Address by Manishearth on Tuesday April 25, 2017 @07:32PM (#14199202)
I think it's because the Marathi localization isn't an official one.

I've been discussing how to improve this.

IMO the blog post proposes a rather naive UI that will be too involved and confusing for this task. For advanced users, maybe, but then you want to actually define the "pretty good" etc. A drag-and-drop-choose-preference-order is better here, though still involved.

Re:Stop Guessing Languages Based on IP Address by avip on Sunday April 23, 2017 @09:03AM (#14177992)
How many in Maharashtra actually speak Marathi? This is a problematic comparison.
Re:Stop Guessing Languages Based on IP Address by Manishearth on Sunday April 23, 2017 @11:43AM (#14178600)
Pretty much everyone not in Mumbai. Folks in the Konkani regions usually speak it as a secondary language.

Mumbai is a complicated case to deal with.