"Every country has exactly one “national” language." - Switzerland meanwhile lol
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
"All languages (that use the Latin alphabet) have the same alphabetical sorting order." oh this one is very unexpected to me. Does someone know an example? I'm curious
In German Ä comes after A, in Swedish Ä comes after Z
In Denmark we have the digraph "aa" that is the same as "å". Since "å" is the last letter in the Danish alphabet, "aa" must be sorted likewise. Hence the ordering Aalborg -> Allerup -> Middelfart is incorrect and the correct ordering is Allerup -> Middelfart -> Aalborg.
The exception is if two a's are pronounced as separate vowels e.g. due to compounding words: "ekstra" + "arbejde" gives "ekstraarbejde" but here it is not pronounced as "å" so ekstraarbejde -> ekstrabetaling is correct ordering as well
https://en.m.wikipedia.org/wiki/Danish_and_Norwegian_alphabet
Middelfart? :-D
It's not too smelly, but it's not completely benign either.
Many examples are listed on Wikipedia: https://en.m.wikipedia.org/wiki/Alphabetical_order#Language-specific_conventions
For French, the last accent in a given word determines the order.[14] For example, in French, the following four words would be sorted this way: cote < côte < coté < côté. The letter e is ordered as e é è ê ë (œ considered as oe), same thing for o as ô ö.
The last three I think are especially important - many people don't really understand how political national flags can be and that they never really just represent a people/region/language in a completely unbiased way.
- There is always only one correct way to spell anything.
“gray" and "grey" are both correct spellings of the color between black and white.
Icons that are based on English puns and wordplay are easily understood by speakers of other languages.
This reminded me of one of those Top Gear "drive across a foreign country in weird vehicles" specials where Jeremy Clarkson needed to borrow a cable to jump-start his car, and laboriously mimed out jumping for "jump", and walking a dog for "lead", to a perplexed local. Richard Hammond was cracking up but finally managed to point out what a fool Clarkson was being.
Geolocation is an accurate way to predict the user’s language.
And as an addendum to this, in 2025 nobody should be using Windows' "Non-latin/-unicode character set" setting to guess the user's preferred language. That's a pre-WinXP kludge. I'm specifically looking at you, Intel integrated graphics software writers, but you have plenty of company, don't worry.
Geolocation is an accurate way to predict the user’s language.
This makes me so angry. It really really really really really does.
Despite setting everything to English I still get my receipts in French. And all because my IP is CG-NAT to the capital which is marked as french speaking.
What is so hard about letting me decide. The absolute fucking arrogance thinking you as a company know better than me in which language I would like to be served.
Eat a dick Microsoft.
For real. I've seen the fingerprinting info, I know your website can see what language I've set, so display your website in that language!