• notarobot@lemmy.zip
    link
    fedilink
    arrow-up
    6
    ·
    12 hours ago

    Apparently there is at least one called Latino (I had already looked into this many years ago and I think I had found a different one)

    A fun problem I always thought would appear is that “if” is translated as “si” but “yes” is also translated as “si” which, while not really a problem, could cause confusion to newcomers as to what the keyword does. I say not really a problem because it should use “verdadero” (“true”) instead of “si”(" yes"), but it might be confusing anyway

    Si (miVariable === verdadero)

      • notarobot@lemmy.zip
        link
        fedilink
        arrow-up
        3
        ·
        10 hours ago

        Yeah… Accents are a pain.

        They are also a pain to type. Where I live there are 2 keyboard layouts: Spanish and Latin. 99% of people don’t know how to tell them apart which means that their hardware keyboard does not match the setting on the computer, so the label on the keyboard does not match with what is typed. There are also two accents in the keyboard: á, and à which are hard to distinguish one the key starts rubbing off.

        All of this means that a lot of people don’t even know how to type an accent, and a lot of us never remember when we should be typing them anyway

        On top of that this (programming) language, doesn’t even support them. Probably because they cause a lot of encoding issues

    • A_norny_mousse@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      11 hours ago

      English-based languages potentially suffered similar conundrums, and deployed workarounds ages ago. Can’t really think of one right now, we probably got so used to it we don’t even see it as a workaround anymore.

    • mmmac@lemmy.zip
      link
      fedilink
      arrow-up
      4
      ·
      7 hours ago

      As someone who dated a Colombian, can confirm. Add a que rico after that and you’d basically be coding in porn

  • katy ✨@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    13 hours ago

    it does make me wonder why programming or markup languages can’t be localised. like imagine if you could do something like root.css or index.php (or w/e) when coding and have the web server or compiler intepret it based on whichever configuration you configure as the base language

    • Lovec741@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      12 hours ago

      Hmm, if you ignore the esoteric versions of existing programming languages I can think of one place where this is done in the wild. That is if you consider Excel formulas to be a sort of programming language ;)

      The pain you have to go through when looking for help only in the local language, then giving up and trying to figure out which functions are which in English. Then switching it all to English, then having people ask you for help when they have it in the local language. That is one reason I can think of to not localize a programming language :)

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        11 hours ago

        I’ve also had it before where my OS was in English and I coded an Excel formula on there, then sent it to someone with their Excel in German and they couldn’t use the formula then.