Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
view the rest of the comments
It would be way more user-friendly to use the language in the HTTP headers. As a web developer the fact that websites are too stupid to do this really grinds my gears. This is just as bad as assuming the language/region from the geolocation of the IP address.
C’mon guys…
It wouldn't be too much work to hook the request language up to a CMS and then a translation service. You could produce in a couple of popular languages upfront and then when someone with a new language visits a landing page, translate it at high priority (few seconds), then the cascade the next most likely click-throughs in order of popularity (or callout weight if it's new). The translations can then be queued for review, and it will mean you only translate when you need to, and the user only experiences a second or so delay as the translation streams the content above the fold.
the last one piss me off so much, especially when they redirect you and you don't have anyway to load the English version...
It’s like all the developers in the field got handed access to some IP dataset and they’re just looking for reasons to use it. Screw the users I guess?
The customer gets what the customer wants.
I've tried countless times to convince them to just use the browser locale, but most of them somehow keep insisting on using geolocation...
My Pixel started giving me distances in miles once because I had the system language to English. I needed to change it to English (German) to show me meters. I don't know if they reverted that but at this point I am too afraid to change it.
I have my Google Account set to English, but YouTube still autotranslates all video titles of newer videos to German for some reason...
That's just how locales work. When you set the language, you also get the associated date/time representation, unit system, etc
But you should be able to set the locale separately from language. You can easily do that on any Unix/Linux system. In your locale.conf, set LANG to your language and all other LC_* variables to your preferred locale.
Systems that do not allow this are badly designed. For a lot of multilingual people, locale and preferred language are independent.
Yeah, Japan as a country uses kilometers, and Rawhide Kobayashi has an easier time reading things on his phone in Japanese, but his heart craves the measurement units of his true home, Texas.
Yeah but it didn't say locale or location, it said system language, that is what i was confused about language =/= location.
And that is just an example of horrible UI. Locales should not be tied to those things. Maybe set the defaults but not forced.
I'm pretty sure nobody's doing that based on geoip. Client-side, the browser exposes the user's languages choices. And server side, the HTTP header can help. But geoip is totally unreliable, even a broken salesman would not sell that as a feature.
Well ok they would sell it but get a very heavy glance from the dev team.
Have you used the web and/or VPN lately? I send the language header but am bombarded by content in the wrong language all the time.
YouTube (and Google in general) has been horrible for multilingual users (and users who want to see content in a different language than the default for whatever country they're browsing from) for quite some time, but lately it's getting downright unusable without untranslator browser extensions.
Yes, but it doesn't solve the problem. Even when a website does that, they might still have a switcher to let you override.
We do both.
A) use the language set by the user in their os/browser B) switcher shows the language name in that language
Done, easy, etc. IMO the hard part are great translations and designs that work in languages where every word is a novel. And yet, here we are.
Accept Language headers are sadly an easy browser fingerprint. I therefor have it set to English even though that's not my native language.
There's also the case where you might have misclicked when changing your language, so your argument isn't really a complete solution. It just helps but doesn't fix the main problem.
If you set your language on a website what’s the difference between them using the header versus using the selected language for fingerprinting?
I understand what you’re saying but even I, a person who splits all their traffic between three different VPN tunnels and goes way too far with DNS blocking don’t really care about fingerprinting based on language.
If the person really cares so much they can set the browser language back to English then manually change it on each website they visit. We shouldn’t punish everyone on such a silly privacy preference.
Edit: Yeah of course just downvote me, don’t bother to engage in any kind of dialog.