s = Pm.RtLang
The value of this property influences selecting the text by Macro expression $.text.
If the language version is changed in the runtime mode by writing into this property, then the change should be made in the PmRoot.onAppStartBegin event. If it is written into the property later while starting or running the application, then some parts of PROMOTIC needn't reflect the change of the language. For example the panel that is already open will not refresh the displayed texts - it is necessary to reopen it. The font palette is automatically created again when the language is changed so that the panel uses the new font in the next opening.
Pm.Debug("Language=" + Pm.RtLang);
Pm.RtLang = Pm.IniFileRead("config.ini", "runtime", "rtlanguage", "en", 8) '4=vbSingle, 8=vbString, ...