Live data from Hacker News

Don't guess my language

vitonsky.net

61–70 of 392 posts

Re: Don't guess my language

#61
This was the bane of my existence when I lived in Uruguay! Despite having the Accept-Language header set permanently to en_US, Google would constantly reset my UI language to Spanish, despite being logged in and having the account language set to English.

The worst offender was eBay which would machine-translate listings from English to Spanish.

Re: Don't guess my language

#62
post #19
post #9

My biggest annoyance is with Google. They know who I am, they know I am traveling, they know my language preferences (English) and yet I still get language based on my location on certain pages. I let you track me Google, please use it for some good UX and not just advertising.

What incentives does Google have to improve UX in this way? I absolutely agree that it should be the case, but the people for whom it matters are (1) completely insignificant wrt to the whole user base and (2) mostly care about tracking and try to circumvent it.

There are 700+ million people living in Europe. The countries are tiny, most have bunch of official languages. The fix would be to use users selected language and not to flip flop it based on location. IP based location guessing doesn’t work even down to right country in here.

Re: Don't guess my language

#63
Not accepting Accept-Language is one of my major pet peeves. What makes it worse is that many multilingual websites translate their language-switching buttons and the list of languages to the current language .... which is beyond fucking stupid and defeats the purpose. Wikipedia does this right. The button to switch languages is clear, using a universal multilanguage icon, and a list of languages (using the name of the language in that same language) in alphabetical order, with the most likely candidates on the top (presumably based on geoip).

E.g. an English Wikipedia page will present me with the following language suggestions:

    Suggested languages
      Deutsch
      Français
      Nederlands
When you assume a language, you make an ass of you and of me. Don't be an ass. Be like Wikipedia.

Re: Don't guess my language

#64

> Every browser sends an Accept-Language header. It tells you what language the user prefers, not based on location, not based on IP, based on their OS or browser config. And yes, users can tweak it if they care enough. This is also a broken assumption. First, Accept-Language is an ordered list, and most daily-multilingual people don't have an absolute order of preference, and more a topical list of preferences. If I…

> If I read an English news site that has a translated French version, it doesn't matter if I'm most proficient in French, I'll want the English version.

The solution there is not to abandon the very useful Accept-Language header, but to never offer half-baked translations. Is your website multilingual? Fine, but only offer fully translated and verified translation sets. It's OK to have your UI and your own content translated in a few languages — for a company that may make sense depending on their target clientele — but you'll have to maintain all of these and keep them in sync.

However, user content is off-limits. No automatic translations unless you only offer those under a button to be helpful (like 'Spanish detected, click to show an automatic translation into English'), but really, leave that to the user's browser.

Use Accept-Language to pick a language, and then offer me a way to switch in addition to that. That's all there is to it.

> Wikipedia does it decently well for instance.

Wikipedia doesn't do that. Each language is its own instance, where content may be ported to by translating it (or parts of it), but outside of the Mediawiki UI texts, it is not a translation of the same content. The Dutch version of the lemma 'Language' is a different article in a different language with some overlap. There is no claim made that it is the same article in Dutch. It is hosted on a different sub-domain and path on purpose.

Re: Don't guess my language

#65
post #21

I have told the story here before, but I built a neat little system to parse Accept-Language weighing the users priorities and using the closest thing we have on offer to the users preferences. As an example, we have a Brazilian Portuguese translation but not Portugal Portuguese, so we would offer the prior to users requesting the latter for instance unless they had a lower priority but more exact match. From my tech…

You ask, as in, whenever I visit the site without having your cookies stored, I'll get a language selector wall first?

I run into those regularly and it's always a struggle to know how to stay on the damn page I clicked on: will the "continue" button use the preselected value or will it dismiss the pop-up and continue on the current page?If the former, is the preselected value the page I'm on or a different language? Can I guess which locale I'm on to select that and dismiss the pop-up then? Can I inspect-element→delete this modal and just sidestep the whole problem? Even just a small close button is a luxury on these language walls...

95 out of 100 times, I'm fine with whatever language I clicked on, and if I want your German version for locale-adjusted shipping info or payment options or whatnot, I'll look for a language selector on the top right or, alternatively, in the page footer. If it's in one of those two places, I'd be much happier about a web without JavaScript-based pop-ups constantly

Re: Don't guess my language

#66
post #50
post #23

I also hate the youtube "feature" that translates the titles of videos to your setting's language. This is so annoying. I can understand English and don't need these automatic translations.

Now Reddit results are translated as well in Google, Kagi, so you think you have found a relevant response in your language, but it's just a machine translation from an English post.

I've been noticing the same, this completely breaks searching for reddit results for me

Re: Don't guess my language

#67
post #44
post #23

I also hate the youtube "feature" that translates the titles of videos to your setting's language. This is so annoying. I can understand English and don't need these automatic translations.

There are a few browser extensions to fix this, I use this one: https://addons.mozilla.org/en-US/firefox/addon/youtube-no-tr...

I can also recommend FreeTube

Re: Don't guess my language

#68
post #10
post #8

> You don’t override screen resolution or color scheme with your own guess They absolutely do lol. Like it or not, people like you are outnumbered by people who set their Accept-Language header wrong and don't know how to fix it. Those people probably buy more too (or at least buy more that shows up in tracking, since you sound like the kind of person who disables cookies etc. too).

> people like you are outnumbered by people who set their Accept-Language header wrong and don't know how to fix it Is this actually something that you can back up with data, or are you just guessing? I find it hard to imagine that would be the case, considering this header generally gets populated by the user's system locale/language.

Windows + Edge populates it for me. I consider it a form of tracking so I definitely will look into it how to override it, this hasn't happened yet tho.

Re: Don't guess my language

#69
Going one step further: do not guess my regional preferences from my language. I want to have an American English UI but use little-endian dates, whitespace and comma as thousands and decimal separators, ISO week numbers in calendars (with Monday being the first day of the week), and metric units. I want English subtitles, but not ones meant for the hearing impaired.

Re: Don't guess my language

#70
post #23

I also hate the youtube "feature" that translates the titles of videos to your setting's language. This is so annoying. I can understand English and don't need these automatic translations.

I don't even get the point of that. If I need a translation of the title, I won't be able to watch the video anyways. At least ot makes some sense with the horribly auto-translated videos now, but they had the title translation for a long time while the video was still the original language.

There's been automatic subtitle translation for a long time.
Post reply on HN