News for hackers. Stuff that matters.
Re:It’s probably never going to work in German by zdragnar on Tuesday February 26, 2019 @11:45AM (#19255882)
Geographic location is incredibly ineffective anyway depending on your ISP and other factors.

Rather than defaulting to English, why not default to whatever the browser's OS is set to? At least for JS apps, there's navigator.languages, and there's an Accept-Language header for both language and locale for standard server-rendered plain ol' websites.

Geographic location really does seem like the worst possible option to use.

Re:It’s probably never going to work in German by reaperducer on Tuesday February 26, 2019 @04:07PM (#19258318)
Rather than defaulting to English, why not default to whatever the browser's OS is set to?

As someone who develops multi-lingual web sites, I can tell you this doesn't work.

It should work, but it doesn't. We test with actual users in their home environments, and... people are messy.

- The vast majority of our users accept the default language (English) when setting up their computers, even if they don't speak English.

- In households where the parents are immigrants, very often the children set up the computer, so it's set to English, which is the child's preference, even if the parents don't speak English.

- Poor households often share a phone or a computer, and each person may not speak or prefer the default language that was chosen by the person who set up the computer.

In the idealized world that Silicon Valley imagines where 1 person uses 1 computer with 1 owner and speaks 1 language, it's fine. But in the real world, it's just a mess.

Re:It’s probably never going to work in German by zdragnar on Tuesday February 26, 2019 @05:03PM (#19258729)
I'm not saying abandon multilingual capabilities, I'm saying Rather than defaulting to English, why not default to whatever the browser's OS is set to?.

This was in response to a comment chain suggesting that geofencing default language is a bad option, because of how inaccurate it can be.

> - In households where the parents are immigrants, very often the children set up the computer, so it's set to English, which is the child's preference, even if the parents don't speak English.

I fail to see how any default language setting will help in this scenario, assuming they've immigrated to an English-speaking geographic region.

> - The vast majority of our users accept the default language (English) when setting up their computers, even if they don't speak English.

I suppose this is one scenario where geofencing might work better than OS default language, but then again, based on my experience it's just as likely to be wrong. At least with English it'd be an interface they're accustomed to seeing, and would have better luck finding the website's language selector, rather than something more arbitrary :/

Re:It’s probably never going to work in German by rockdoe on Friday March 01, 2019 @01:49PM (#19284038)
Firefox (and I suspect other browsers) allow per-profile configuration of the language, independent of the OS.

In the scenarios you describe, it's hard to see how geolocation makes things better, as it has all the same problems, except for the "installed in English because didn't change the default" where you now have a chance (but no guarantee) you'll select the correct language.

And unlike configuring the language in the browser, there's no hope geolocation could even possibly work correctly.

>In the idealized world that Silicon Valley imagines where 1 person uses 1 computer with 1 owner and speaks 1 language, it's fine. But in the real world, it's just a mess.

In Silicon Valley geolocation works fine, but it's a terrible, terrible, TERRIBLE idea everywhere else.

Re:It’s probably never going to work in German by pabs3 on Tuesday February 26, 2019 @09:17PM (#19260309)
This sounds like something that web browser UX experts could help to fix.
Re:It’s probably never going to work in German by rockdoe on Friday March 01, 2019 @01:51PM (#19284060)
They already did. Every major browser allows you to configure the language you speak.

Of course it doesn't do much because sites do very stupid things like use geolocation.

Re:It’s probably never going to work in German by AnabeeKnox on Tuesday February 26, 2019 @04:23PM (#19258407)
Ah that makes sense. I'll stop complaining about this now.
Re:It’s probably never going to work in German by cdtwoaway on Tuesday February 26, 2019 @12:35PM (#19256429)
Defaulting to OS language can be terrible for organizations where the working language is different than a local language. Lots of programs do it and they always default to the language the OS was installed in, not the one that is currently used by the user.

I work in an international organization in Czech. The local IT team installs Windows in the local language, then sets it to English (which is fine, mostly). Half of our employees don't speak Czech well and changing weird tools to English is a constant and difficult hassle for those who haven't learned the basic words yet (printer drivers and small open source tools are the worst).

Browser language can be difficult as well. Half of the population is bi- or multilingual.. choosing which language to use for a browser (for me: German or English) affects how well Google Translate works - which I use daily. (Somehow, big American companies don't get the idea that people can live in multiple countries at the same time or speak multiple languages).

Re:It’s probably never going to work in German by Symbiote on Tuesday February 26, 2019 @01:11PM (#19256801)
> I work in an international organization in Czech. The local IT team installs Windows in the local language, then sets it to English

That doesn't make sense. If the OS is "set to English", how do programs know to run in Czech?

Anyway, we just install Windows in English. (British English, so the dates appear the right way around and there's a chance of metric measurements.)

Re:It’s probably never going to work in German by cdtwoaway on Tuesday February 26, 2019 @02:02PM (#19257265)
User / Domain profiles that set the language of wherever you login. The "original" installation remains in Czech.

Yes, it would be preferable to have the installations in English initially. But we weren't always international and not all of our employees speak English well (this is common for older people - former UDSSR ..., admin staff and people in roles that don't require a college education). There are still legacy tools in Czech, fully Czech teams (who obviously work partially in their native language), a need to work in the local language (procurement, legal topics,..) etc. It's just not economic to completely enforce English.

Re:It’s probably never going to work in German by Markoff on Tuesday February 26, 2019 @04:45PM (#19258574)
just FYI Czechia was never part of USSR and it's quite offensive to tell it to Czech person after being occupied for decades by Soviet military. that's like saying Afghanistan and Iraq are US states to people living there, just because US occupied their country
Re:It’s probably never going to work in German by cdtwoaway on Tuesday February 26, 2019 @06:47PM (#19259538)
You are correct, I was sloppy writing that and apologize.

Growing up, I learned that Czechoslovakia was part of the "Eastern Bloc" and we were never taught much about the individual countries and their peoples. Moving there taught me a lot more about the country and its neighbors' history and culture, and also my own culture.

Although I'm not sure about "Central Europe".

Re:It’s probably never going to work in German by Markoff on Wednesday February 27, 2019 @04:37PM (#19267180)
it all comes down where you think Vienna it's, because it's for sure more eastern city than Prague, but i don't see people calling Austria eastern European country, which is political from before 1989

i have no problem ignoring central Europe when people will be consistent about geography especially regarding Austria, but since nobody it's putting Austria in eastern Europe then we have to live with Central Europe, after all Europe ends at Ural, so calling Czechia eastern Europe it's quite a stretch

Re:It’s probably never going to work in German by def_true_false on Tuesday February 26, 2019 @07:08PM (#19259679)
> Although I'm not sure about "Central Europe".

This term predates the Iron Curtain.

Re:It’s probably never going to work in German by def_true_false on Tuesday February 26, 2019 @07:00PM (#19259627)
Changing browser language settings is a couple clicks. Are your systems not user configurable or something?
Re:It’s probably never going to work in German by ip26 on Tuesday February 26, 2019 @03:19PM (#19257977)
people can live in multiple countries at the same time

As a silly American, can you explain how you live in multiple countries at the same time? Do you mean you, for example, live in one country and work in another?

Re:It’s probably never going to work in German by tormeh on Tuesday February 26, 2019 @05:41PM (#19259036)
This is a favorite topic of mine. There are several multi-country metropolitan areas in Europe, for example Malmo-Copenhagen and Görlitz/Zgorzelec. Many cities have smaller suburb cities across the border, like Strasbourg-Kehl and Geneva-Annemasse. And the Benelux countries take this to the extreme, of course.

Even Berlin, which is pretty far from the Polish border, have commuter trains to Poland. That's right, the Berlin metro ticket will take you to Poland.

Re:It’s probably never going to work in German by atemerev on Tuesday February 26, 2019 @03:52PM (#19258209)
I live in Spain and Switzerland. I spend most of the summer in Spain, and the rest in Switzerland. I work 100% remotely, so I can live and work anywhere (not seamlessly, as I need visas and residency permits and everything else, but still doable).

My wife is a scientist, so we travel a lot and change places of living. So far, I lived in Russia, Switzerland, Italy, Spain and Denmark, and about 2 months in the US.

Re:It’s probably never going to work in German by cdtwoaway on Tuesday February 26, 2019 @06:56PM (#19259607)
As a young adult, I studied in a country (had a flatshare there) and took the train (2hrs) at the weekend and during the holidays to stay with my parents. I guess lots of people close to borders know family situations like that (parents, partners).

Now, I have a job with 90% business travel between two countries (but same cities). Have small apartments in both. It is just more economical and comfortable that hotel room living.

There are also often reasons not to completely move to a country, even if it's close (different tax situation, having to switch social security systems which affects your retirement, wanting to stay inside a certain social security systems which requires a place of residence..)

Re:It’s probably never going to work in German by Markoff on Tuesday February 26, 2019 @04:47PM (#19258593)
you can live in Bratislava which it's less than hour drive from Vienna where you can work every workday, plenty of people in Europe live nearby border and spend lot of the time on both sides speaking completely different languages
Re:It’s probably never going to work in German by walshemj on Tuesday February 26, 2019 @04:02PM (#19258278)
Working at CERN is one example
Re:It’s probably never going to work in German by mattnewton on Tuesday February 26, 2019 @12:02PM (#19256077)
Is it really the worst possible option? It’s often a pretty good guess, and accept-language is similarly unreliably set and can be fiddled with by intermediaries. Navigator.language doesn’t help you until you’ve already served and run JavaScript.

The right solution I think is to make a reasonable guess and then allow the user to control it. None of these guesses are going to work for everybody on their own.

Re:It’s probably never going to work in German by zdragnar on Tuesday February 26, 2019 @12:20PM (#19256284)
I'm unaware of any intermediaries that fiddle with accept-language, so I can't really speak to how reliable it is. I can say that due to the ISP I use geolocation typically gets my location wrong by somewhere between 650 - 1600 km (400 and 1000 miles).
Re:It’s probably never going to work in German by atemerev on Tuesday February 26, 2019 @11:52AM (#19255967)
Yet Google, Microsoft and Apple use it. :( At least with Google, you can usually log in to your profile and set it to English; with Microsoft and Apple, you are out of luck.
Re:It’s probably never going to work in German by TeMPOraL on Tuesday February 26, 2019 @12:28PM (#19256371)
That's one big problem on the web, IMO. Google in particular does a lot of things that are questionable UX-wisely, to put it charitably, and then a lot of web shops try to copy those things without giving them any critical thought.
Re:It’s probably never going to work in German by Mirioron on Wednesday February 27, 2019 @05:17AM (#19262257)
If you do do this then please don't use keyboard language as the language. Use ui/display language instead. Looking at you, Microsoft.