GUI-O Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    multi-language support

    Scheduled Pinned Locked Moved
    Comments & Feedback
    2
    5
    337
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sato
      last edited by

      Hello Klemen,

      One idea for our devices to support multi-language would be if possible implement in the C.C.C App a DropDownMenu in which we could select a number 1 to 9, whenever the App accesses the Mqtt server, instead of sending @init, it could send for example @init4. This way we could evaluate on our devices which language would be selected in the App and proceed with the GUI in the respective language.

      Regards
      Sato

      K 1 Reply Last reply Reply Quote 0
      • K
        kl3m3n @Sato
        last edited by kl3m3n

        @sato Hello.

        The most general way to do this would probably be adding a "Custom init" menu entry somewhere in the menu. There, the user could specify a string to be appended to the @init command (empty string by default).

        For example, if custom init menu string is set to "en,admin", the init would look like:

        @init en,admin\r\n
        

        If custom init menu string is cleared:

        @init\r\n
        

        Would this help you?

        Regards,
        kl3m3n

        1 Reply Last reply Reply Quote 0
        • S
          Sato
          last edited by

          Hello kl3m3n,
          Yes, some way that the user can select in the App, I think the way you suggest should be the right one. If you can add it, we can test and give feedback .

          Thank you
          Regards

          K 1 Reply Last reply Reply Quote 0
          • K
            kl3m3n @Sato
            last edited by

            @sato said in multi-language support:

            Hello kl3m3n,
            Yes, some way that the user can select in the App, I think the way you suggest should be the right one. If you can add it, we can test and give feedback .

            Thank you
            Regards

            Just for information, if somebody else is interested in this. Here is a possible solution for this:

            Implementing this feature on the microcontroller side by adding a jumper which selects the active language. Or alternatively implementing a control for language selection from the GUI-O app side, which is then stored in EEPROM of the microcontroller.

            1 Reply Last reply Reply Quote 0
            • S
              Sato
              last edited by

              Hello @kl3m3n,

              Like you say, implementing a control for language selection from the GUI-O app side, which is then stored in EEPROM of the microcontroller, is a good choice.

              Regards

              1 Reply Last reply Reply Quote 0
              • First post
                Last post