• nebeker@programming.dev
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 days ago

    Industrial controls equipment made by German companies can be programmed in English or German. You can also switch languages (German/English) at any time and the IDE switches over all the keywords.

    • SaharaMaleikuhm@feddit.org
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      3 days ago

      What are you talking about? That must be some super niche use case, cause most IDEs do not do that. And if they do it’s exclusively used by people who can’t really program.

      • Deebster@programming.dev
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        1
        ·
        edit-2
        3 days ago

        Lots of the industrial programming languages are very different to “normal”/“proper” programming languages, and I can see them being localised.

        For example, this is (PLC programming language) Ladder Logic code:

        Ladder Logic code

        • merari42@lemmy.worldOP
          link
          fedilink
          arrow-up
          3
          ·
          3 days ago

          My dad used that a lot to program Siemens Step5 and Step7 PLCs. I think it was German but names were 8 chars since this was straight from the 80s. When he fixed old machines or updated them with new PLCs he had to do full rewrites a few times because nothing was documented in old school machinery.

            • merari42@lemmy.worldOP
              link
              fedilink
              arrow-up
              2
              ·
              3 days ago

              It did depend a little bit, what kind of machine/production line he was working on. Before he retired, he worked for an automation engineering company and had different projects in other EU countries, and tried to be understandable for people in those places. He once even coded some Siemens control panel for an aluminum oven loading robot in the czech republic and tried to translate everything to czech with a dictionary (to have the panel info available in czech,english and German). He did of course speak to the foreman of the workers to get it correct.

              • nebeker@programming.dev
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 days ago

                That makes sense. I’m also involved in localization efforts. In niche cases, it’s paid off to work with the clients directly on that. You get you a good balance between correctness and day-to-day usefulness.

          • nebeker@programming.dev
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 days ago

            Since ladder is mostly diagram-based it almost doesn’t need to be localized and isn’t jarring when you use non-English variable and function names with English keywords.

            Apart from being strictly left-to-right.

            • marcos@lemmy.world
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              2 days ago

              If you think it’s jarring to mix names from different languages with English keywords… well, I have bad news for you.