I'm not sure, but maybe it works by writing the current language string variable to a variable which is Retain (Persistant):
//WhentheHMIisrestartedcallthefollowingcode:IFNOT(xInitDone)THENÂ Â Â Â IFsRetainLanguage<>''THENÂ Â Â Â Â Â Â Â Â VisuElems.CURRENTLANGUAGE:=sRetainLanguage;Â Â Â Â END_IF;Â Â Â Â xInitDone:=TRUE;END_IF;//AfterthiswritethecurrentlanguagetotheretainvariablesRetainLanguage:=VisuElems.CURRENTLANGUAGE;
Please let us know if this works
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
everytime after reboot hmi, hmi will change back to default language.
I'm not sure, but maybe it works by writing the current language string variable to a variable which is Retain (Persistant):
Please let us know if this works