News for hackers. Stuff that matters.
Re:It’s probably never going to work in German by jfoucher on Tuesday February 26, 2019 @11:37AM (#19255770)
I never understood why sites try to do geo based localization. Every browser in capable of setting the requested language in the request headers so why not use that ? Technically much simpler as well. And the user can just change the browser preferences and all sites would magically switch to the right language. Hey I can dream right ?
Re:It’s probably never going to work in German by ryandrake on Tuesday February 26, 2019 @11:49AM (#19255931)
Developer cleverness/arrogance. “Users are stupid” mindset. Product designers thinking they know better than their users what language they want.

It’s infuriating to travel overseas and, without changing anything about my computer’s setup, having to deal with web sites overriding my chosen preferred language. Please, just stop doing this.

Re:It’s probably never going to work in German by kawsper on Tuesday February 26, 2019 @12:26PM (#19256344)
In my experience these are often configured wrong, because browsers are guessing settings based on the locales used by the operating system, and because users don't know how to configure it because it is really hidden away.

For the cases I see it is technical minded people that speak another language than Danish, that buy (or inherit) a laptop with Windows on Danish, so the browser infers its settings from the operating system, and now you can no longer trust this header.

But it might be just as wrong as guessing language based on IP-location, so there are not really a good out-of-the-box solution, so every website will have to build their own selector maybe with input both from the browser headers and from the IP-geolocation.

Re:It’s probably never going to work in German by Svip on Tuesday February 26, 2019 @12:38PM (#19256454)
Browsers should just make it more obvious and easier to configure. But a lot of websites respect this, I've found. You'd be surprised.

Chrome makes sure to suggest translating a page. Why doesn't it suggest to change my language preferences as well? Rather than just suggesting 'ignore translating for this language' as the alternative.

Re:It’s probably never going to work in German by C1sc0cat on Tuesday February 26, 2019 @11:45AM (#19255876)
A number of reasons I work for major conglomerate which has over 200 brands and operates in getting on for 200 countries.

In the USA for one brand they sell different products to the UK than the USA for another brand they use a different brand entirely in the USA to the rest of the world.

There are also legal reasons why you might need to geo target.

Re:It’s probably never going to work in German by zdragnar on Tuesday February 26, 2019 @11:47AM (#19255906)
That displays different content, but the Accept-Language header (with locale specialization) isn't about the content, its about the language the content is displayed in.
Re:It’s probably never going to work in German by teddyh on Tuesday February 26, 2019 @11:50AM (#19255940)
That’s not localization, though. That’s market segmentation based on location detection, which is a different thing, strictly speaking.

I mean, they could still show me the UK-only site if they determine that I am in the UK, but show me the UK site in German, with German units, dates and time codes, etc., because that’s what my browser might tell them that I prefer.

Re:It’s probably never going to work in German by C1sc0cat on Tuesday February 26, 2019 @12:04PM (#19256108)
Have you any idea how much work that is and how many things can go wrong I might have a dozen or more locales / languages and if you then want to see any locale in any language that's a huge amount of different urls

Ok so you want German content in the UK do I show you the German locale and products legally available in Germany? the UK locale and products legally available in the UK translated into German?

And do I age gate you based on German law or English what happens if I show you a BOGOF offer do I obey German law or English What happens if google messes up. What happens if your in Quebec and I accidently show you an illegal competition What T&C's do I show you

Re:It’s probably never going to work in German by jfoucher on Tuesday February 26, 2019 @12:11PM (#19256175)
No need to have different urls for different languages. If you detect that the user's location is in the UK display the UK site, comply with UK laws etc... If that same user sends a German Accept-Language header, show them the UI in German. Doesn't seem much more complex that what you're already doing...
Re:It’s probably never going to work in German by C1sc0cat on Tuesday February 26, 2019 @12:35PM (#19256426)
You might want to translate the url for any number of reasons mostly SEO related.

But the main problem what if google gets confused and messes up and lands you on the wrong potentially problematic url - do you want to be the developer explain to the General counsel why the company is in trouble.

Re:It’s probably never going to work in German by megous on Tuesday February 26, 2019 @01:07PM (#19256763)
You can't go wrong with ?p=564. You might want to skip 666, 13, and some other numbers too, though. :D
Re:It’s probably never going to work in German by atemerev on Tuesday February 26, 2019 @11:51AM (#19255955)
Yes, those are the worst.

Sometimes I can't buy books or movies or games in the language I prefer (English), I have to wait for (usually poor) localization. The number of times I have saw the dreaded "this product is available only for the residents of US and Canada", I can't even understand, why my money is not good enough for that.

Re:It’s probably never going to work in German by hyperman1 on Tuesday February 26, 2019 @02:53PM (#19257744)
I have now several DVDs where the first menu asks me to select one of 6-8 languages. Then it shows me the unskippable copyright ads (you wouldn't steal a car blah blah blah) localized.

Then we get to the main menu which is English only, regardless of the language you selected. The movie itself is in English, subtitled in at most 3 languages, reachable only from the remote control button (ignoring your first language selection), and sometimes these 3 are different from the 6-8 copyright ad languages.

It's fun to see the copyright ad in Russian or Italian.

Re:It’s probably never going to work in German by Wowfunhappy on Tuesday February 26, 2019 @12:50PM (#19256591)
> why my money is not good enough for that.

It's likely not that they don't want your money, but rather that they don't have the legal right to sell you a piece of content in exchange for your money.

Re:It’s probably never going to work in German by atemerev on Tuesday February 26, 2019 @01:33PM (#19257002)
If I am visiting another country, I can buy a physical game or movie in a brick and mortar store. There isn’t any reason it shouldn’t work for online purchases.
Re:It’s probably never going to work in German by Wowfunhappy on Tuesday February 26, 2019 @02:38PM (#19257594)
If you use your laptop in another country, you'll also be able to purchase geo-locked content with your foreign IP address. (Unless they reject foreign credit cards, but that's more to prevent VPN's, and you're just a false positive.)

The way copyright gets licensed per-country is pretty dumb in the age of the internet, but it's not correct to blame individual retailers for this. They would love to have a larger customer base.

Re:It’s probably never going to work in German by ken on Wednesday February 27, 2019 @11:33AM (#19264264)
Yet I can go to <country>.amazon.com and buy it and have it shipped here. Is Amazon breaking the law?
Re:It’s probably never going to work in German by Wowfunhappy on Wednesday February 27, 2019 @10:09PM (#19268712)
Actually, there's a lot of stuff they won't ship to you. I had to use a forwarding service to buy video games from amazon.co.jp for many years, although more recently they've started to allow foreign purchases on most video games. No idea what precipitated the change.

I imagine this is mostly a legal gray area that no one cares enough to litigate. The number of people going to foreign sites to paying international shipping prices and wait weeks for their products to arrive is too small to worry about.