Falsehoods programmers believe about languages
-
There are perfect guidelines on preparing translatable strings in the GNU gettext documentation.
-
Until you use exit codes, which flips the logic.
-
Persian is a perfectly neutral language. Some westerners apparently struggle with understanding how we speak out language. We also don't have an equivalent to "The"
-
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.
-
I think Latin doesn't really have words for yes and no.
-
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
-
There are languages that don't have the concept of "punctuation" at all.
-
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.
-
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.
-
"splitting on end-of-sentence punctuation" would not split on 8.9 though!?
-
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 is true 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?)
JoSo 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.
-
@cgtjsiwy sorry, was a bit simplistic there. Finish is instead an example of a language where while there _is_ a word for "logical" no that's not the usual way to answer yes/no questions.
If we're being pedantic this means it's not similar to Swedish "nej" for most uses of the latter.
-
- There is always only one correct way to spell anything.
“gray" and "grey" are both correct spellings of the color between black and white.
-
The article is not about programming languages 🫠
-
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.
-
Interesting. Maybe it's partially a Gaelic thing, since Irish Gaelic is like that too.
-
Interesting, thanks!
-
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.