this post was submitted on 06 Mar 2025
22 points (89.3% liked)

Programming

19365 readers
140 users here now

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 !webdev@programming.dev



founded 2 years ago
MODERATORS
 

I can’t believe nobody has done this list yet. I mean, there is one about names, one about time and many others on other topics, but not one about languages yet (except one honorable mention that comes close). So, here’s my attempt to list all the misconceptions and prejudices I’ve come across in the course of my long and illustrious career in software localisation and language technology. Enjoy – and send me your own ones!

top 50 comments
sorted by: hot top controversial new old
[–] darklamer@lemmy.dbzer0.com 16 points 1 month ago (4 children)

Geolocation is an accurate way to predict the user’s language.

Now that's a pet peeve of mine, a bizarre belief surprisingly often held by people, who must be oblivious to the existence of tourism.

[–] dohpaz42@lemmy.world 2 points 1 month ago (1 children)

This. When I was in Mexico on my honeymoon, Google kept redirecting me to their .mx version of Google; despite my inability to read Spanish.

[–] 30p87@feddit.org 7 points 1 month ago (1 children)

And I always want the english version instead of the german version, despite me being german. Literally only google fucks that up. Every other site, even the small local german Uni website or the canteens meal site, respects my browsers setting. Google does not, and serves me german.

[–] monzool@lemmy.world 1 points 1 month ago

google.com/ncr

[–] peoplebeproblems@midwest.social 1 points 1 month ago* (last edited 1 month ago) (1 children)

It would be a useful way to predict it possibly, but presumably the author meant if you have support for localization, you also provide an obvious and easy means of changing the language.

More importantly, you should be using the language an existing user has already used in the past.

Edit: come to think of it, this is less a programmer problem, and more of a UX problem. Obviously as programmers we need to take UX into consideration, but in all my products I've worked on, UX is specified already by a UX designer.

[–] LaggyKar@programming.dev 5 points 1 month ago (1 children)

It's not even that, there are multiple languages spoken in the same region. Webpages should just use the language the browser tells it to use.

[–] peoplebeproblems@midwest.social 2 points 1 month ago

I had assumed the author didn't limit his statements to web browsers. If it's an application on a user's box, they should be using the language the OS provides.

In the case of less complex hardware, IoT or embedded devices with localization support, you would likely have another strategy if it doesn't have a setup process. For something without internet or GPS, you can't do this obviously. For something without a GUI, it's unlikely to have localization support without direct design consideration for it's destination.

[–] Kissaki@programming.dev 1 points 1 month ago

I hate when apps use my number formatting setting to determine display language - despite Windows having a display language as well. Even Qt does (did?) that.

[–] Redkey@programming.dev 8 points 1 month ago (1 children)

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.

[–] fluckx@lemmy.world 12 points 1 month ago (1 children)

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.

[–] Ashen44@lemmy.ca 6 points 1 month ago

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!

[–] locuester@lemmy.zip 5 points 1 month ago
  • There is always only one correct way to spell anything.

“gray" and "grey" are both correct spellings of the color between black and white.

[–] onlinepersona@programming.dev 4 points 1 month ago* (last edited 1 month ago) (1 children)

Falsehoods US programmers believe about languages

The US-centric, anglo-saxon centric worldview strikes again 😮‍💨 For those us that speak multiple languages, many of these are revelations...

Also, if they are, it's best to add examples, otherwise these are just random claims without any sources to back them up.

Anti Commercial-AI license

[–] TehPers@beehaw.org 2 points 1 month ago

Ironically, many languages that violate these rules are spoken in the US natively. People in the US just like to forget that there are other natively spoken languages (spoken since before English was introduced to the continent even).

[–] Bysmuth@lemmy.zip 3 points 1 month ago (3 children)

"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

[–] Ebber@lemmings.world 6 points 1 month ago* (last edited 1 month ago) (1 children)

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

[–] zerofk@lemm.ee 1 points 1 month ago (1 children)

It's not too smelly, but it's not completely benign either.

[–] b_van_b@programming.dev 4 points 1 month ago* (last edited 1 month ago)

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 ô ö.

[–] wieson@feddit.org 2 points 1 month ago

In German Ä comes after A, in Swedish Ä comes after Z

[–] kuerb1@lemmy.blahaj.zone 2 points 1 month ago

"Every country has exactly one “national” language." - Switzerland meanwhile lol

[–] 2xsaiko@discuss.tchncs.de 1 points 1 month ago (3 children)

Segmenting a text into sentences is as easy as splitting on end-of-sentence punctuation.

Is there a language this actually isn't true for? It seems oddly specific like a lot of the others and I don't think I know of one that does this. Except maybe some wack ass conlangs of course.

[–] Giooschi@lemmy.world 9 points 1 month ago* (last edited 1 month ago)

Even in english this isn't true, for example dots can appear inside a sentence for multiple reasons (a decimal number, an abbreviation, a quotation, three dots, etc, etc), which would make you split it into more than one piece.

[–] schnurrito@discuss.tchncs.de 2 points 1 month ago

There are languages that don't have the concept of "punctuation" at all.

[–] TehPers@beehaw.org 1 points 1 month ago* (last edited 1 month ago) (1 children)

English. I can go to the store and buy a sandwich for $8.99 all in one sentence, but splitting it on periods gives you two sentences.

[–] 2xsaiko@discuss.tchncs.de 1 points 1 month ago

Oh of course, I didn't think about punctuation occurring in the middle of a sentence. Duh, thanks.

[–] TehPers@beehaw.org 1 points 1 month ago

Another couple missing:

  • every language uses gendered nouns/verbs/adjectives/pronouns/etc
  • no language uses gendered nouns/verbs/adjectives/pronouns/etc
  • pronouns referring to people are always gendered
  • pronouns are always singular (1) or plural (2+)

A fun language to learn regarding these is Hawaiian, where the language uses a-class and o-class rather than masculine and feminine, and which you use is largely based on how much control you have over it.

[–] TrickDacy@lemmy.world 1 points 1 month ago* (last edited 1 month ago) (5 children)

Most of these just seem like basic educational issues except this one imo:

Every language has words for yes and no.

I want to see more than like 1 or 2 counterexamples. I'm pretty interested in linguistics on an amateur level. Don't believe I've heard of that one before now.

edit: in retrospect I do think I remember hearing this about Irish and Latin and some older languages. Interesting to know there are so many. I know the theory that language is related to thought patterns is semi-debunked, but I can't help but think that things like this indicate something about the cultures associated with a language.

[–] SorteKanin@feddit.dk 4 points 1 month ago* (last edited 1 month ago) (2 children)

Not sure about that one but the following one:

In each language, the words for yes and no never change, regardless of which question they are answering.

This happens in Danish actually. Example:

Kan du lide is? (Do you like ice cream?)
Ja
Kan du ikke lide is? (Do you not like ice cream?)
Jo

So in Danish we have "ja" which means "yes" but "jo" is used instead when answering a negative question, so as to confirm what the negative question asked. This is kind of annoying in English cause if you ask "Do you not like ice cream?" then if you say "yes" does that mean "yes I like ice cream" or does it mean "yes I do not like ice cream"? That's what "jo" disambiguates.

[–] MirthfulAlembic@lemmy.world 3 points 1 month ago

English used to have this! Yea/nay for positive, and yes/no for negative I believe. The former fell out of common use.

[–] jjjalljs@ttrpg.network 1 points 1 month ago

I believe French does this as well. To answer in the affirmative to a negative question, you use "si" instead of "oui"

"Si" is also the word for "if", which has probably confused people.

(top search hit, not sure if good, but on a quick glance it looks correct https://www.commeunefrancaise.com/blog/si-in-french )

[–] addie@feddit.uk 3 points 1 month ago (1 children)

Scottish Gaelic doesn't have 'yes' or 'no' - you answer with the positive or negative form of the verb used in the question.

http://www.gaidhliggachlatha.com/blog-mios-na-gaidhlig/how-to-say-yes-and-no-in-scottish-gaelic

[–] TrickDacy@lemmy.world 1 points 1 month ago

Interesting. Maybe it's partially a Gaelic thing, since Irish Gaelic is like that too.

[–] Jezza@sh.itjust.works 3 points 1 month ago (1 children)

My wife is Vietnamese, so I have a basic grasp of it, but they don't really have a word for yes.
The verb itself is used to answer the question.
Want something to drink? Drink. Want to go to the park? Go.

They have a word for no, but as you can probably ascertain, it's only for the negative.

[–] Colloidal@programming.dev 2 points 1 month ago (1 children)

Can they answer “not no”?

[–] bamboo@lemm.ee 1 points 4 weeks ago (1 children)

I don’t know any Vietnamese, but I suspect it would be as awkward of an answer as “not no” in English.

[–] Colloidal@programming.dev 2 points 4 weeks ago

I’m sure it would. But in many languages a double negative just reinforces the negative. Hence the question.

[–] echindod@programming.dev 2 points 1 month ago (2 children)

Arabic doesn't have a word for "yes". I don't think most semitic languages do either [Classical Hebrew does not, but Modern Hebrew does, however, the word they use in modern Hebrew is the word for "Thusly", that is now a particle]. In fact you can see that proto-indo European didn't have a word for yes: Greek is ναι, but the romance languages are si (I am pretty sure French oui is actually derived from the same root as Spanish and Italian. Could be wrong) and if my memories is correct (and it may not be) classical Latin didn't have a word for yes. And the Germanic words yes/ja have a similar origin. I can't speak to the other IE languages unfortunately.

I know there are also language families that don't have a single word for no, but use a negation mood on the verb. I unfortunately can't give you an example of this. But it should be fun to look up!

[–] ray@sh.itjust.works 3 points 1 month ago

Oui and si are derived from different roots. Oui is from Latin hoc ille, while si is from Latin sic.

There is actually a si in French that also means yes and comes from the same root as the Spanish and Italian si. However, its usage is much more limited. It's only used to express disagreement. For example, if I said "Potato chips don't taste good." and you wanted to say "Yes, they do!", then you could use si.

[–] Threeme2189@sh.itjust.works 1 points 1 month ago (1 children)

Arabic doesn't have a word for "yes".

(Yes) in Arabic is نعم pronounced as (Na'am) or ( Na ع m) & this is the word which most people use in all Arab countries . The Arabic dialect word for (Yes) is ايوة or ايوا pronounced as (Aywa)and also used by all Arabs.

[–] echindod@programming.dev 1 points 1 month ago

Do you know the etymology of these words? My understanding is that they aren't exactly "Yes" but more "As you say" or something similar. But I am no arabicist.

[–] schnurrito@discuss.tchncs.de 2 points 1 month ago

I think Latin doesn't really have words for yes and no.

[–] bizdelnick@lemmy.ml 1 points 1 month ago

There are perfect guidelines on preparing translatable strings in the GNU gettext documentation.