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!

    • peoplebeproblems ( peoplebeproblems@midwest.social ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      2 years ago

      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.

        • 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.

  • Redkey ( Redkey@programming.dev ) 
    link
    fedilink
    arrow-up
    35
    ·
    2 years ago

    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.

  • 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 ( TehPers@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 years 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).

  • TehPers ( TehPers@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 years 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.

  • 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.

        • @2xsaiko @TehPers there’s other examples too. E.g. Thai has no spaces between words but spaces between phrases/sentences. However the spaces between phrases involve style choices similar to comma in English and many other Latin script writing systems. Also, Thai may have spaces around abbreviations special characters.

          I’m quite familiar with Thai so that’s close at hand but I guess it’s the same in a lot of other writing systems based on Brahmic scripts.

        • TehPers ( TehPers@beehaw.org ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          Periods, question marks, and exclamation points are end-of-sentence punctuation. Splitting on those would split on 8.9.

          Even if you wrote a magical split function that always split at the ends of sentences, you can quote multiple sentences in the middle of a sentence:

          John told me “Are you crazy? That’s dangerous!” and I reassured him that it would be safe.

          Basically programmers should not try to write their own sentence splitting function (unless they’re writing a library for that or something, like a natural language parser).

  • Bysmuth ( Bysmuth@lemmy.zip ) 
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years ago

    “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

  • Every language has words for yes and no.

    Assuming yes and no means true and false, c has numbers (1, 0) for yes and no and c++ can use those numbers for yes and no because it is a superset of c.

    Technically, it’s 0 and non-0 but I always use 1. They are integers rather than keywords.

      • That’s what I meant so I’ve edited my comment to hopefully make that a bit clearer. Having actually tested it, because in C++ I use true/false, it is 0 that equals false and anything else is true. You’ll have to forgive my lack of clarity. It’s 03:02 and I’ve had about 2 hours sleep tonight and won’t be getting any more. Time for a coffee.