frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Show HN: I built a platform to automate and manage mobile app reviews at scale

https://appreply.co/
1•vladnfx•52s ago•0 comments

The Mathematics of Sudden Change

https://mailchi.mp/quantamagazine.org/how-scientists-are-trying-to-make-sense-of-scents-4866642?e=0bb2af09bd
2•Anon84•3m ago•0 comments

Show HN: An AI photographer in your pocket

https://photofuse.ai
1•ndunas•5m ago•0 comments

Show HN: From Dopamine Detox to Enlightenment

https://www.scortescu.com/posts/idtia/
1•Sscortescu•5m ago•0 comments

Going to the cloud' could also mean locking into a forever sub-contractor

https://berthub.eu/articles/posts/beware-cloud-is-part-of-the-software/
1•kimi•6m ago•0 comments

How to Compare Streamable HTTP and SSE HTTP

https://ziyou.framer.website/en/blog/mcp-protocol-why-is-streamable-http-the-best-choice
1•hllpark0311•7m ago•0 comments

New MGS5 EV Review: The Budget Electric SUV That Delivers Big [video]

https://www.youtube.com/watch?v=JYw8lPwG47Y
2•teleforce•7m ago•0 comments

Show HN: Deep Dive on MCP

https://agnt.one/blog/the-model-context-protocol-for-ai-agents
1•GBintz•8m ago•0 comments

Tact Filters (2007)

https://www.mit.edu/~jcb/tact.html
1•Tomte•8m ago•0 comments

Britney Spears's Conservatorship Nightmare (2021)

https://www.newyorker.com/news/american-chronicles/britney-spears-conservatorship-nightmare
2•Tomte•9m ago•0 comments

We're Unlikely to Get Artificial General Intelligence Anytime Soon

https://www.nytimes.com/2025/05/16/technology/what-is-agi.html
1•Wowfunhappy•9m ago•1 comments

AI overconfidence mirrors human brain condition

https://www.sciencedaily.com/releases/2025/05/250515132458.htm
1•mtts•10m ago•0 comments

Show HN: Zeitgrep – ripgrep, but sorted by edit stats in Git history

https://github.com/kantord/zeitgrep
1•kantord•10m ago•0 comments

Show HN: Scrollz – A cleaner way to read, discover, and listen to newsletters

https://www.scrollz.co
2•Scrollz•10m ago•1 comments

Anduril CEO unveils the Fury unmanned fighter jet [video]

https://www.youtube.com/watch?v=f3EtEYE8QWE
3•WhyNotHugo•12m ago•0 comments

Show HN: GS-Base – A multifunctional database tool with Python integration

https://citadel5.com/gs-base.htm
1•jpiech•14m ago•0 comments

Looking back at `oapi-codegen`'s last year

https://github.com/oapi-codegen/oapi-codegen/discussions/1985
1•jamietanna•15m ago•0 comments

The Perfect Technical Interview

https://n-eq.github.io/blog/2025/05/19/the-perfect-technical-interview
1•elqatib•16m ago•0 comments

Show HN: A simple, pure-Rust, domino-tile Polybius cipher (CLI bi-directional)

https://github.com/delaklo/domino-cipher
1•delaklo•18m ago•0 comments

Problems in GenerativeAI: Continuity

https://musings-mr.net/post/WZFBlctl9mzKSPaNvRiy
1•mrkiouak•21m ago•0 comments

Is It Time to Unlock the Great Lakes' Wind Power Potential?

https://oilprice.com/Alternative-Energy/Wind-Power/Is-It-Time-to-Unlock-the-Great-Lakes-Wind-Power-Potential.html
2•PaulHoule•21m ago•0 comments

Ask HN: Anyone used LLM for UI E2E testing?

1•Igor_Wiwi•23m ago•0 comments

Show HN: Logdash – Zero-config observability for side projects

https://logdash.io/
1•szymeo•23m ago•0 comments

Show HN: With deletion CRUD implemented for most modules

https://github.com/oitcode/samarium
1•ignosnim•23m ago•0 comments

Breaking Through AI Brain Fog: Tool to Sharpen Your Focus

https://prompt-generator.sherpa.software/
1•alexkazanski•23m ago•0 comments

Attack of the Sadistic Zombies – Paul Krugman

https://paulkrugman.substack.com/p/attack-of-the-sadistic-zombies
1•rbanffy•24m ago•0 comments

Proposed v2.0.1: BREAKING.ADDING.FIXING

https://github.com/semver/semver/issues/1120
2•mooreds•26m ago•0 comments

Show HN: Jar.tools – View, Change, Decompile Java Jar Files

https://jar.tools
2•Igor_Wiwi•26m ago•0 comments

Boffins devise privacy-preserving location sharing scheme

https://www.theregister.com/2025/05/17/privacy_preserving_location_sharing/
2•LorenDB•28m ago•0 comments

OAuth Scopes Explained: Building Secure Third-Party Access for Your Platform

https://fusionauth.io/blog/how-to-design-oauth-scopes
1•mooreds•28m ago•0 comments
Open in hackernews

Don't Guess My Language

https://vitonsky.net/blog/2025/05/17/language-detection/
175•e-topy•2h ago

Comments

vaylian•2h ago
I really wish for a language setting that says: If the original text is in one of the following languages, use the original text. I might not be equally fluent in all of those languages, but reading the original text is better than reading a translation most of the time.
lblume•2h ago
Modern browsers with auto-translation features always offer the option to "Never translate X" — never translate a language the user speaks.

If websites really need translation (which they very likely do not!), this should be the norm as well.

watson•1h ago
MacOS has this feature under Settings -> General -> Language & Region -> Preferred Languages. Here you can have an ordered list of languages you wish apps and websites (I _think_ only works for Safari) to use. I don't know how widespread this is in other OS'es or browsers.
oefrha•1h ago
That's just the standard Accept-Language header, not unique to Safari or macOS at all. It's up to the server to interpret and respond to the header, and they mostly don't do what gp wants, i.e. they usually serve the translated language with a higher q rather than the original language even if it's in the list (and it's mostly ignored anyway in favor of geoip/manual region/language picker).
happytoexplain•1h ago
It is not the accept-languages header - it affects the accept-languages header. Like the parent said, it is also used for apps (which includes your browser's UI).
Aachen•1h ago
This has been OS-independent since the dawn of time (see the Accept-Language header specification), but sites rarely use it
detourdog•1h ago
I think the date might be later definitely after the adoption of unicode characters.
dijit•1h ago
You’re in luck!

https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...

I wrote about it once; https://dijit.svbtle.com/trusting-the-user-they-know-what-la...

Outlook web actually respects this, which is refreshing.

Vinnl•1h ago
Unfortunately, that just specifies which languages you prefer, regardless of what the original language is.

I speak Dutch and English, but have English set as my preferred language, because most of the time that multiple languages are available, that is the original language. However, sometimes I'll be visiting a Dutch site that has a (usually badly-)translated English version available, and I'd rather get the Dutch version.

dijit•1h ago
I think thats bad logic on the server side and not to do with the concept of Accept-Language though.

I would think the ideal prioritisation should probably be:

* Exact (en_GB)

* Exact (fr_CA)

* Soft (en_*) // Any variant of English you might have available

* Soft (fr_*) // Any variant of French you might have available

* Translated. (to first preferred)

for Accept-Language: “en_GB,fr_CA”

swiftcoder•2h ago
Yeah, this is has become of pet peeve of mine since moving to Spain. US sites that automatically redirect me to their Spanish site (which often doesn't have the actual article the original link pointed to!)
tough•2h ago
yeah tailscale/wireguard/vpn usually fixes this

but then you have to -know- at which geo you want to operate.

The internet has long been broken as a global field imho

diggan•47m ago
> yeah tailscale/wireguard/vpn usually fixes this

It does not "fix" that at all, and breaks so many other things. I don't wanna see US/UK/Australian prices just because I happen to live in Spain but prefer English when browsing the web (literally same boat as parent).

tough•34m ago
sorry, yes does not fix the language stuff

i meant it fixes allowing you to pretend to be phsycally somewhere else, but as you say introduces a whole can of new problems/hurdles

idk man i just switch it on and off depending on site

RamblingCTO•2h ago
Yeah I've worked with geolocation databases in the past and they're essentially just hot air. It's wild that even google can't guess my location anywhere close to home. And I live in a big german city, it wouldn't be that difficult to be right. But they've actually never been right about my location. Sketchy is a fitting description.
lblume•2h ago
Bold of you to assume Google would actually show your their most precise and accurate guess.
lmm•2h ago
> 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).

q3k•1h ago
> 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.

zinekeller•1h ago
Actually, yes. Google and Facebook invests in translation significantly more than Microsoft in languages in Africa and Asia (to the point that you cannot set Windows do not have that language in question), for example, the various non-colonial languages in the African continent. In those countries, the computer is set to English/French because not of practicality but of significantly broken/no translation by Microsoft.
bmacho•1h ago
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.
nottorp•1h ago
But my system language is English. Closest english speaking country is 2000+ km away.

And you know what? I didn't pay so much attention to what English I'm selecting so part of my devices are set to UK english and part to US english. It's all English to me, just don't translate my File menu!

lblume•1h ago
Then create some status bar (or even a popup if necessary) that informs the user about their Accept-Language header-IP address mismatch (in terms understandable to a non-technical user), offering the option to choose either page.
doix•1h ago
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.

lblume•1h ago
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.
OtherShrezzing•1h ago
>(1) completely insignificant wrt to the whole user base and

At any one time, there's got to be tens of millions of people accessing Google from a country which has a primary language unknown to the traveller. Even if this number is insignificant compared to Google's full user base, the cost for Google to service 20-30mn people with a feature is presumably lower than their annual ad revenues across 20-30mn people.

plastic3169•1h ago
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.
dkjaudyeqooe•1h ago
Indeed, somehow Google is the worst offender with this.

Lately they've decided that auto translating the local language into English in Maps reviews is the wrong thing to do. They translate every other language into English but somehow since I live in this place I must speak the local language too, so I don't need that in English.

Ditto for search results. Surely you want Wikipedia in the local language! I mean you've been there for so long! You search for things in the local language, surely that's a sign of your preference and not the fact that searching for things locally requires use of the local language.

This also applies to so much other "we must make our software so smart and guess all your preferences". Google fails so consistently at this I cannot understand why they persist other than some sort of misplaced corporate self regard.

sneak•1h ago
Sad fact: most people don’t go anywhere.

People like us are an edge case.

j16sdiz•52m ago
One don't need to travel to be multilingual.

Many EU country have more than one official languages.

Most previous colony is bilingual.

edarchis•1h ago
I've had this argument with a Google Developer.

He told me that for efficiency, they had different stages in the content rendering and that the main page structure didn't have your user information yet. That's rubbish IMHO because the accept language header should be readily available in that phase.

knorker•36m ago
Yeah it's amazing that Google is the worst offender.

I think this is because half of Google live their entire career in California, so they don't know about other languages, units, time zones at all.

It's weird, because they employ SO many foreigners, bringing them to California. But somehow upon arrival they all get memory wiped about the existence of anything outside the bay area.

Other companies do this right. Google is user hostile.

No. I will NEVER navigate by bike, foot, or public transport in these strange America-only units.

sgt•1h ago
And also make it easy on the site to change languages. Just because my OS is in US English, doesn't mean that I don't prefer certain sites to be in other languages when I choose to. Many of us are multilingual.
lblume•1h ago
That should not be the business of the site, but of the browser. It is precisely what Accept-Language is for. The site should respect the header, allowing circumvention should be a very low accessibility priority.
LoganDark•1h ago
Which browser, if any, even allows you to modify this header per-website?
lblume•1h ago
One example is qutebrowser:

https://qutebrowser.org/doc/help/settings.html#content.heade...

I assume other developer-centric browsers have similar options.

sgt•1h ago
The browser just looks at the system language. That may be US English, but you want to read the site in Spanish for example.
lblume•1h ago
It defaults to it, but the preferred language can be changed in all major browsers, though currently not on a per-website basis.
bmacho•1h ago
The site should respect explicit user actions. A get request to a /en/ domain, or a button click to a language icon should result changing to that language. Respecting implicit preferences that are more likely than not be just plain wrong anyways should be a very low priority, ideally shouldn't be done at all.
nottorp•1h ago
Don't guess what currency I want to pay in either by the way.

Your payment provider's automatic conversion is most likely more predatory than my bank's so I don't want to use it.

And even if you guess my location right, how do you know I want a badly/machine translated web site?

xobs•1h ago
OVH is awful for this. I’ve given up trying to use their site and always have to open a support ticket any time I want to give them money.
Aachen•1h ago
This. Related: if I had a penny for every time I needed a VPN just to load the payment method selection screen (but not for the actual payment, it's not geolocked) just to be able to pay somewhere, I'd get a lot of products for free by now...

Why not let germans select iDeal and dutch users Giropay? They'll not click it if it's not useful for them. Adjusting the sort for what's most commonly used makes sense, but why actively thwart users from paying by geolocking payment methods by IP address...

knorker•33m ago
There may not be any conversion at all. I have cards able to carry balances in multiple currencies. I also have foreign bank accounts.

Billing address is not a sure way to predict currency.

tsukikage•1h ago
Don't guess my anything. If you're not sure what I want, ask, or at best do nothing. You don't actually know what I want, and every time you decide you think you do, you make everything worse, not better.
makeitdouble•1h ago
> 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 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.

Then, as an affect of the first point, users will specify their most practical language, not some actual preference. For instance local non-English sites tend to do less shenanigans than international English ones, so having one's language set as English only will force English display for the former, with few impact on most other sites.

A French site ignoring all preferences and just pushing the French version by default actually helps in that case.

If anything, I just wish site owners stopped trying to be cute or clever and just had a very obvious and quick interface to switch to other versions. Wikipedia does it decently well for instance.

hnfong•1h ago
> Then, as an affect of the first point, users will specify their most practical language, not some actual preference.

Where does this assumption come from? Given the fact that many (most? almost all?) sites don't honor the Accept-Language header, I doubt that there's much game theory going on in users' head when deciding this configuration.

Aachen•1h ago
They're right. Try to find a Dutch IT person with a laptop not set to English. Only a small fraction will realise you can set more than one language and put Dutch as a second, even though many struggle beyond basic reading comprehension in English. They're not picking it because they're just as good, much less better, at English compared to Dutch

We definitely pick languages that work as opposed to languages that we speak. Setting it to Dutch is just worse: UX doesn't fit, english search results wouldn't show up (way fewer results/content/info), and translations often don't make sense (imagine a button called "you shut it" on a modal window, it's a literal translation of one interpretation of the string "close it" but you'll be confused as to what that button will do)

nulld3v•1h ago
> 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.

Technically Accept-Language allows you to specify a "quality value"/weight for each language... https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...

IMO there is a lot of improvements that can be made by both the browser and websites:

Websites should probably allow users to override the browser-requested language. But browsers should also allow users to choose between "Site default", "Request system default language", "Request English", "Request Chinese", "Request Spanish", etc. on a per site basis.

Most optimally however: sites should expose a list of supported languages, maybe in the manifest.json: https://developer.mozilla.org/en-US/docs/Web/Progressive_web... Format would be something like: `Map<iso639Code: string, Tuple<translationQuality: float, comments: string>>`

Language selection should be done on the client side, not on the server.

makeitdouble•17m ago
Fundamentally the issue for me is, this behavior can't be automated in an elegant way.

Having priorities and weight and language lists in the manifest help for negociation, but at the core of it, the user will want to choose language based on context and content. > Language selection should be done on the client side, not on the server.

Yes.

Using a site specific list on the client side could also do it (let's say I always want Facebook in a language and Google in another, Linkedin in yet another etc.). It still will be pretty cumbersome, probably needs an auto-save and sync of the preferences, and still hits problematic cases, but it would be the most pragmatic solution.

The worst instance of it is IMHO the way Google Maps work, changing language based on the country gives the best display (local names in the proper writing, no internationalization), I wish there was an easier way than screwing with the Google account preferences. As you point out, having clients able to unambiguously request a specific version at each requests would gives us so many more options.

Freak_NL•1h ago
> 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.

makeitdouble•30m ago
> never offer half-baked translations

Sadly that ship has sailed.

We can look at the reaction from smaller youtubers as auto-dub rolled out. Most are sympathetic to the quality issues but are seeing it as either a "good enough" or at least a "better than nothing" feature that helps them expand their audience with no visible cost on their side.

Or official government sites that have explicitely disclosed AI translations and didn't bother passing it through a regular translator.

This situation just won't get better. Except perhaps the day AI is actually intelligent and we have human being level translators running on cloud servers.

> Wikipedia

Yes, those are not translations, but in that specific case they also don't need to: the quality of the article will vary depending on the editor, but there's no "original" article, so nothing to translate from IMHO.

donatj•1h ago
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 technical standpoint it worked really well and the code was very slick. It was a lot of fun to build.

From a user standpoint most of our users really just wanted English regardless of their Accept-Language header. They had the option to change it in the footer but this apparently wasn't obvious enough.

We just ask now, and our users are happier.

binarymax•1h ago
Yes! I still want to default to accept-language, but asking is key. What is your pattern for giving the user an option? I like this article in that it rejects icons, but I don’t like how they arrive at one language for multiple regions https://usersnap.com/blog/design-language-switch/
donatj•1h ago
We literally just have a box that pops up with "<language> (<region>)" in each of the native languages. It gets saved to a long lived cookie rather than the user's account for some business reasons.
Aachen•1h ago
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

donatj•1h ago
We're a paid SaaS so I don't think it's as much of an annoyance to be asked once per browser.

It's just a separate page you hit after signing in if we don't have your preference. You click on the language you want and you are redirected to the dashboard.

The option to change it still exists in the footer.

Aachen•1h ago
Okay, must say that does sound like a very acceptable flow. You'll have the user logged in at that point so can store it and never need to ask again. Was expecting you built this for regular websites, my bad!
binarymax•1h ago
Timely. I’m working on this right now for a product and have everything in place using the accept-language header and then adding a url param.

I’m currently agonizing about how to let the user change their language, because I want to respect locale as well (es-MX vs es-ES for example). And I haven’t found a good UX pattern for changing language+locale. I’ll likely just implement a big list that the user can select, and have the current language be a link that they can click to change via a modal.

CaptArmchair•1h ago
As someone who lives in one of those locations mentioned in the article: split out locale and language into different settings. Because they are not the same thing. This article explains that nicely. [1]

You want your users to be able to change their location (and, therefore, locale) and their language independently. The Accept-Language header could be used as a sentinel for language. Then again, I wouldn't outright rely on geoIP to set the locale which is an umbrella for regional differing variables like timezone, date formatting, currency, VAT / Taxes,...

I think it's okay to have your content served, by default, in a language that reflects either the majority of your target audience; or the culture / place you're based in. Changing the locale / language should follow a clear UI pattern e.g. a language switcher & locale switcher in the header; or a clear navigational aid pointing to a context menu. That's how Hetzner works, for instance. Another example is Deliveroo.

[1] https://translatepress.com/locale-vs-language/

tapia•1h ago
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.
Freak_NL•1h ago
And you can't turn it off. I really hate this non-feature.
apples_oranges•1h ago
Using Brave on iOS I haven't encountered it yet. Perhaps it strips some information? But with the official YT app I have, and it was both fascinating and annoying.
cypressious•1h ago
Agreed. I use https://addons.mozilla.org/de/firefox/addon/youtube-anti-tra... to work around it.
avhception•1h ago
My computer is set to English even though I'm German, and sometimes Youtube will treat me to this really uncanny machine voice with really weird phrases because it auto-translated some German video or advert. Lidl is worth it, ja!
FinnLobsien•1h ago
I absolutely hate this. I have the exact same thing. Even if the technology was good, I speak both languages and want to see the original.

Why is it so hard to just add something as a setting/feature and offer it to people without forcing it on the user?

avhception•1h ago
I wonder if Lidl or the other advertisers know and approve of this.
FinnLobsien•48m ago
I mean it's probably somewhere, deep in the ToS but pretty sure if you showed that machine voice to the advertisers they wouldn't approve.
qiine•1h ago
its especially funny with asmr video, not gonna lie the first time I was beyond confused
numpad0•1h ago
idoundernotstandwhothisfeatureisdivisiblebytwoinproductionandi

just dislike video and move on. I'm guessing Google wants uploader penalized, and I do feel sorry but it's not my problem.

pjmlp•38m ago
I thought I was the only one getting such a messy ads.

At least I know I didn't mess anything on my WebOS TV.

littlecranky67•1h ago
So much this. I suspect the idea that a person speaks more than one language is absent in US silicon valley. Else I can't explain why youtube only lets you set one language. Heck, even google allows you to configure all spoken languages in your account, the very same google account you use for youtube. Yet youtube ignores it and has its own settings.
fifnir•1h ago
> I suspect the idea that a person speaks more than one language is absent in US silicon valley.

Exactly, it's like they've never left their own state levels of ignorance

troupo•1h ago
> I suspect the idea that a person speaks more than one language is absent in US silicon valley.

Which has been baffling to me considering how many foreigners work at these companies.

genocidicbunny•1h ago
I think it's more a matter of "why would they have their system language set to X if they speak Y? If they want Y, they should just set their system language to Y!"

It's the idea that the user has a preference for something, and it applies always and everywhere, even when it's not applicable.

sebtron•1h ago
There are a few browser extensions to fix this, I use this one: https://addons.mozilla.org/en-US/firefox/addon/youtube-no-tr...
Aldipower•1h ago
Thanks! This is great. Although embarrassing for YouTube.
nilslindemann•1h ago
I can also recommend FreeTube
sph•1h ago
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.
fifnir•1h ago
I've been noticing the same, this completely breaks searching for reddit results for me
nilslindemann•1h ago
Try "Reddit Untranslate" addon.
reddalo•16m ago
I'm a bit fed up with having to use a million plugins to make the web usable.
qiine•1h ago
duckduckgo seems to do it as well
Unai•1h ago
Can't recommend "DeArrow" browser extension enough. YouTube is a miserable experience without it (and its sister extension SponsorBlock).
thrance•1h ago
Hear! Hear! It enrages me. They also automatically turn the subtitles ON, making you constantly have to disable them. There is no way for multilingual users to add a list of the languages they understand, which is an insane limitation that's been driving me crazy for years at this point. Wtf are they even working on at youtube's HQ? Making video thumbnails larger still?
echoangle•1h ago
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.
immibis•1h ago
There's been automatic subtitle translation for a long time.
echoangle•1h ago
Good point, I didn’t even think about that because I would never watch a video in a foreign language with auto-translated subtitles.
genocidicbunny•1h ago
Not only the titles, but also the audio track. There's a few youtubers I regularly watch who are trying to branch out into some additional languages by providing fan-made translated audio tracks, and english is sometimes one of those. Every single time I watch one of those videos, I have to manually set the language back to the original because often the translations lose some of the word play or hidden meaning in the original language. Often it also means I need to rewind the video because it started playing before all the controls have loaded (because youtube hates FF with youtube-related extensions) and I could swap the language track back.

One of the sister replies linked to an extension to help with that, which I'm going to give a try, but it's annoying that there's not a simple toggle in the youtube settings to tell it to always use the original language. On the rare occasion that I want to use the translated audio track, I can do _that_ on my own; I speak enough languages that this is a very rare occasion with the type of content I watch.

This isn't even something I can understand as them being hostile to ad blocking or wanting to push ads. This is a 'convenience' feature that is just poorly implemented. But I'm sure there's some PM that got a pat on the back for it.

nilslindemann•1h ago
It is not just that these translations are not needed, they are often - in my case German - of a low quality, contain errors and lose information which the original language contained. And the roboter voices loses all the interesting modulations of the original voice. Even a Fireship video sounds terrible when translated.
LoganDark•1h ago
IP doesn't even tell you where a request comes from, IP just (usually) tells you what network sent it to you.
HorkHunter•1h ago
Yes 100% this, Geo-location != language. I wonder why this isn't common sense to be honest
fabian2k•1h ago
It's entirely ridiculous when you're abroad. Also annoying when in your home country, but the localized versions are not equivalent like e.g. programming documentation. Even in the ideal case you'd probably prefer the English original, but often they're machine-translated anyway and much worse.

Another extremely annoying thing I've noticed more often now are machine-translated versions of content in the search results. Reddit for example does this now, and it's just terrible. One of the main reasons I use non-English search terms is to get non-English results, e.g. because I'm looking for information on topics that is not globally applicable.

hnfong•1h ago
Every couple months, Facebook's web interface glitches out and displays the geolocation-based language instead of my preferred language in parts of the UI.

I don't know how that happens. Like, do individual teams within Meta have to re-learn that users in their own system have a language preference? (Not even talking about Accept-Language, it's a Facebook user setting.)

fifnir•1h ago
Oh god please, this is so important!
deanc•1h ago
I live in Finland where they have two native languages: Finnish & Swedish. In a lot of places you'll see both the Finnish & Swedish place name on road signs. Without getting into politics, it's a good assumption to assume that Finnish is the mother-tongue of most of the population - with some areas having Swedish as their native language but also perfectly capable of speaking Finnish fluently.

I have my phone's language set to English as a native English speaker. Google maps reads me the Swedish road signs, in English.

avhception•1h ago
Also: don't guess shipping options or other stuff based on my browser's language!

My computers are all set to English even though I'm a German living in Germany, and I absolutely hate it when local business websites give me the "we don't ship abroad, sorry" just because of my browser's language settings.

donohoe•1h ago
When we added translation features to our news site I went down this rabbit hole and wholly agree with the author. I checked what others were doing and very often there was this ip lookup happening, and then a redirect or other unnecessary behavior.

In our case, less is more. We decided to not do any of that, and were a bit paranoid that maybe we were going against a 'best practice' somehow?

All we do is look at navigator.language to get the language code:

   const userLanguage = navigator.language.split('-')[0]
and if we support that language then we will change the "Translate" button label to that language and default behavior to shortcut to that language version (you can still get the full list).

Thats it. Keep it simple.

Example: https://restofworld.org/2024/filipino-ai-chatbot-launches-20...

(translation UI in the byline area, under lead image)

zetalyrae•1h ago
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.

elric•1h ago
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.
e-topy•1h ago
And it even remembers what you chose last time and pushes it to the top. That is UX. Being actually helpful and not fucking annoying.
CGamesPlay•7m ago
> in alphabetical order

Well, it's in an order, but I don't know about alphabetical. I clicked on today's English featured article and looked at the languages: "中文", "Italiano" are "suggested", then the remainder are grouped by geographic region, and aren't particularly alphabetical. They appear to be in groups which are still not alphabetical. Europe seems to have a Cyrillic group but "Қазақша" is shown after "Українська" which isn't accurate in Kazakh (Қ isn't a letter in Russian, this is probably why this happens) and probably also unexpected for anybody who isn't familiar with the letter Қ. The Chinese languages don't seem to be in stroke order (no expert here), although Korean is below them (because of course, K for Korean alphabetizes after C for Chinese).

Anyways, no hate for Wikipedia; they do a great job of localizing. Just a bit of nuance/pedantry about how you can't "alphabetize" language names in their own language.

anilakar•1h ago
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.
davedx•1h ago
Mmm... understandable, but less trivial to implement than the OP. What you're requesting is quite a lot of localization customization. Reasonable to expect this from say, Google Sheets, but you might be out of luck with apps with smaller budgets.
gield•1h ago
This is a real pain in the ass in Belgium. Many websites assume I speak French while my native language is Dutch. Some websites only offer a French version of their Belgian storefront, even though Dutch accounts for ~60% of Belgians. I can't imagine what it's like for German-speaking Belgians.

This is not only an issue on websites but also on apps. For example, the Books and Podcasts apps on iOS show me both Dutch-speaking and French-speaking titles. I tried to raise this issue back when I worked at Apple but they only have 1 storefront per country and didn't feel like changing it.

southernplaces7•1h ago
One of the many, many tedious things about the modern globe-spanning internet, used by hundreds of millions of people who regularly travel far and wide, is this bizarre, stupid forced algorithmic balkanization in which you're pigeonholed right into either being denied access to certain content based on your location, or having your supposed language tendencies modified by default.

I'm not sure what the purpose of this idiocy is. Is it a dark pattern of some kind? Or is it just so hard for grey, cubicle-dwelling functionaries at companies that are themselves often very international to set systems for leaving one's language defaults static unless otherwise adjusted by said site user?

If you're already tracking me and every single one of my digital activities through my devices, then at least give me some modicum of convenience from all the bother.

pyb•1h ago
I don't understand why Google, of all sites, picks your language based on your IP. It ignores not only Accept-Language, but my Google Language settings as well. Their language handling seems to be getting worse over time. Not to mention the long-gone days where you could go to google.co.uk to get UK content.
sikiladho•1h ago
I’m glad someone said this. As someone from Pakistan whose first language is Sindhi and who detests the imposition of Urdu as a ‘lingua franca,’ I find it very frustrating when Google forces Urdu on Gmail, YouTube, and Search.

It also flips the entire user interface to a right-to-left layout to match Urdu’s writing direction, which feels completely unfamiliar and disorienting to me.

nottorp•1h ago
Ouch. So we europeans have it easy. At least all the languages are left to right.
FinnLobsien•1h ago
Another annoying version of this is localized google results. I'm originally from country A, live in country B, but work in English, which is not the language of either place.

But google will then localize results to where I am, which typically deprioritizes English results because I'm not in an English speaking country.

You can set your google settings to act as if you're in the US permanently, but then googling anything local/regional will serve results aimed at people a continent away.

All this "guessing what the user wants" has become detrimental to actual UX.

jacknews•1h ago
What's really annoying is when it sets the script to the local language which could be something like telugu, and then the writing is unreadable if you can only read the latin alphabet.

And then the 'change language' menu is rendered in the unreadable script.

<Cough> google maps, in fact most google apps.

mynegation•1h ago
Here is one big reason some sites do geolocation nevertheless: pricing and legal. Does not matter what language you speak - they still have to look up proper prices in your local currency and offer you country or region-specific deals and legal language. E.g. in Canada Quebec limits what kind of sales or raffles you can offer so websites prepare different site copy. Yes, there are French speaking people outside Quebec and English speaking people in Quebec, but company may not have resources and time to prepare 4 copies instead of 2.
pif•52m ago
The article is not against geolocation: it is about guessing the language!

In your example, there's only one language available, and it depends on your location, and that is fine.

What is NOT fine is the general case, where several languages are available, and you have already chosen the one(s) you prefer, but the site decides to ignore your choice because reasons.

j16sdiz•50m ago
Quoted from TFA

> If you want to use GeoIP, fine — but only for currency, shipping, legal stuff, never for language

knorker•56m ago
Also: Don't guess my units.

Why oh why does Google Maps think that "miles", "feet", and "yards" are words that have any meaning at all?

Only like a 20th of the world even knows what these obscure things are. Just because I'm currently located in a country that nominally uses these arcane units doesn't mean that I know what they are.

Oh you can change it to real units temporarily. But if you look away for a split second it changes it right back.

I'm LOGGED IN. How could you not remember?!

notepad0x90•51m ago
Google is the biggest offender. If you have had legitimate use cases where you browsed sites or routed your traffic via a Cloud VM at different locations (or if you're one of those rare people like me that use a damn VPN!) you probably already know this. I have to memorize 'accept' (to accept their ToS prompt each time) and figure out how to change the language.
diggan•50m ago
As someone who lives in Spain, but prefers to browse the web in English and has all my computing stuff setup in English, good look convincing the world to change this :) It's been utterly broken for as long as I can remember (back when I had a 56k modem) and it'll probably remain so.

It's a uphill battle where you cannot convince others, so the best thing you can do is figure out how to adjust your own setup to make it less of a hassle.

> Do it right or don’t do it at all.

I'm fairly sure we wouldn't have the internet nor the web if everyone thought like this. I personally also strive for making things as good, right and correct as possible, but obviously I cannot force others to think alike, especially for-profit businesses that don't really care about "correct", only about "good enough".

benterix•48m ago
> No, “but the big websites do it” doesn’t make it right.

Also, it's only partially true, e.g. Amazon doesn't force the language at all, and while it presumes the country of delivery (which makes perfect sense as not all products are available everywhere), it explicitly nags me about it so I can change it with one click.

harvie•46m ago
Me: Visits Morroco (or pretty much any other country), has smartphone set to english. Also me: Gets youtube ads in Berber language. Has no idea what the ad is about or why someone would pay google to show it to me.
pif•44m ago
I think this is a case where it is unfortunate that the biggest players are from the USA, because they are notoriously mono-lingual and cannot fathom what it means to know more than one language.

If they did understand, no site would ever propose you an automatic translation into your primary language over the original text written in any other of the languages you can read.

alias_neo•40m ago
Before we even get as far as the wrong language being chosen; The GeoIP databases are rarely even up to date so they've got you in the wrong location to begin with.

I've been on static IPs for a decade or so; my last home's static IP was regularly Geo-located to Romania, the next one to the Netherlands, and sometimes even further afield; I'm in the UK.

I started to have a heart attack just yesterday because Zenarmor on my OPNSense box was suggesting that a particular device was sending traffic to a region it has no business sending traffic to; turns out the DB is just wrong and a quick search indicated it actually (currently) belongs to the UK.

In a separate incident (also yesterday, as I then got into investigative mode), I installed Rethink on my phone, which suggested, yet again, that devices (including my phone itself) were sending traffic to places they shouldn't be; again, false alarm, turns out they were all UK IPs, one of which being my own static IP which was being wrongly attributed to another region.

If this part of locating the IP can't even universally be done correctly; why on earth is anyone even considering trying to use it to guess a person's language.

EDIT: The result of these issues, particularly with my home IPs usually manifests in certain sites displaying in languages and with currencies neither I nor my family speak/read or understand, for me I'm used to it and will look for where/how to change the language/currency, but for my wife and kids it's just confusing.

knorker•39m ago
Some sites ignore en-US because so many devices ship that as a default. The Internet becomes a bit better if you set your language to en-AU.

But yes, many ignore the selected language or units completely.

foft•31m ago
In Switzerland pretty much all sites have a setting for French, German, Italian and often English. It is very much a multi-language country.

It is great to be able to select individually per site. I often like to use the native French and just drop back to English if its technical language.

I do find that every site has the setting in a different place which is annoying, it would be great to be able to select it in a standard place on the browser.

The worst offenders are the single language per country sites. For example Ebay insists on only using German in Switzerland, which is rather frustrating since I only know English and French so far.

Steve16384•29m ago
My own law: "Few things are as annoying as software trying to be helpful."
leonheld•27m ago
While others have expressed sentiments about YouTube and Google, let me tell you what I really hate - translated reddit posts.

They're polluting search results and it's the ultimate disrespect against multi-lingual users... it's made my life hell when trying to find localized information (for example, in Portuguese), when my computer is set to Portuguese but I'm searching in English.

nightfeather•13m ago
Accept-Language still cause quite a bit annoyance to me though. Because the fallback rule most implements still follows similar assumption as the first point in this article. Languages in the same group doesn't mean the user would accept it.

I don't care if there are any other auto-translated thing that you though it's close enough because they have same prefix that would help.

NO, absolutely NO.

I even specified the en-US or any other language that original content uses as the secondary candidates, then most just ignores it and serves randomly translated thing that you think would be close enough because you can't tell.

Just please, follow what user asked first.

Edit: formatting