Hacker News new | ask | show | jobs
by andrewmcwatters 1031 days ago
Yeah, as far as I'm concerned, this is a deficiency of language detection. Specific types of input types should auto rtl based on the user agent's locale usage.

A number of other automatic behaviors exist simply when you change your primary language, and this is one of them that should change by default. You'll know this by experience if you speak another language and occasionally flip your primary language over. All the sites you browse start respecting your lang and locale settings.

Other technical or format-specific inputs should retain their relevant direction.

2 comments

This is the correct solution. Updating every html form vs the source of a few browsers, no brainer.

In the meantime, browser plug-in?

I suppose you’re talking about browser behavior, because I’ve yet to see a website that respects my language headers instead of assuming the language I speak based on geo-IP

The other common situations are explicitly choosing my language in a drop down menu every time I visit it, or some user preferences thing. Often sites come up with a hybrid approach and I get mixed language/locale content.