this post was submitted on 06 Mar 2025
106 points (95.7% liked)

Programming

18539 readers
536 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 [email protected]



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
[–] [email protected] 1 points 1 hour ago

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

[–] [email protected] 8 points 5 hours 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.

[–] [email protected] 2 points 4 hours 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

[–] [email protected] 5 points 3 hours ago* (last edited 3 hours 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

[–] [email protected] 1 points 2 hours ago (1 children)
[–] [email protected] 2 points 2 hours ago
[–] [email protected] 1 points 2 hours ago

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

[–] [email protected] 1 points 3 hours ago* (last edited 3 hours 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 ô ö.

[–] [email protected] 36 points 15 hours 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 28 points 13 hours 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.

[–] [email protected] 1 points 2 hours 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!

[–] [email protected] 4 points 10 hours ago

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

[–] [email protected] 54 points 18 hours ago (6 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.

[–] [email protected] 2 points 7 hours ago

yup I too remember getting YouTube ads in Hungarian when I was there as a tourist - despite not understanding Hungarian at all and watching videos only in other languages, they really ought to know that

[–] [email protected] 1 points 6 hours 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.

[–] [email protected] 5 points 14 hours 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.

[–] [email protected] 2 points 9 hours 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.

[–] [email protected] 1 points 6 hours 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.

[–] dohpaz42 9 points 17 hours 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.

[–] [email protected] 9 points 14 hours ago

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.

load more comments (1 replies)
[–] TrickDacy 17 points 15 hours ago* (last edited 5 hours ago) (7 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.

[–] [email protected] 4 points 6 hours ago* (last edited 6 hours 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 3 points 2 hours ago

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

[–] [email protected] 3 points 3 hours 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 )

[–] [email protected] 2 points 7 hours ago

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

[–] [email protected] 29 points 13 hours 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.

[–] [email protected] 3 points 7 hours ago

Can they answer “not no”?

[–] [email protected] 14 points 13 hours 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 2 points 5 hours ago

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

[–] [email protected] 9 points 15 hours ago (3 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!

[–] [email protected] 3 points 5 hours 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.

[–] TrickDacy 2 points 5 hours ago

Huh, interesting. I learned a little hebrew (modern) and a few words of arabic. I know I learned "yes" in hebrew and thought I also did in arabic. However, as I understand it, arabic is more like many separate languages bound by some commonalities, so maybe that factor is what I am confused by.

As far as "oui" in french, that one I learned about and it's theorized (from memory, I may be a bit off) that it came from a contraction of two latin words meaning something like "it is so". The contraction originally started with a hard consonant but it fell off over time, leaving "oui". It is also an interesting read to look up!

[–] [email protected] 7 points 13 hours 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.

[–] [email protected] 1 points 1 hour 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.

[–] [email protected] 7 points 15 hours ago (4 children)

@TrickDacy @rimu but use them much more restrictively. As an example in Thai, "yes" is "chai", but is used only in a few situations, like if a question is ended with "chai mai" (yes followed by word forming polar question).

In interfaces you can't usually put this as yes/no buttons, but rather usually one is a verb like "khao" ("come/go in") and the other is the same word prefixed with mai ("not", different tone from the other "mai" i mentioned).

Chinese is similar but I don't know it as well.

load more comments (4 replies)
load more comments (1 replies)
[–] [email protected] 17 points 16 hours ago* (last edited 16 hours ago)

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

[–] [email protected] 8 points 16 hours ago (2 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.

[–] [email protected] 2 points 7 hours ago

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

[–] Giooschi 15 points 14 hours ago* (last edited 14 hours 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.

load more comments
view more: next ›