multi-language support
-
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 -
@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 -
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 -
@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
RegardsJust 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.
-
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