Webportal v1

embedded apps

API Reference - HMI.Settings.languageSet

HMI.Settings.languageSet

Type Event
wave 2
wave 3
wave 4

Event triggered when the user changes the language in the settings.

Example

1
2
3
4
5
6
7
try{// HMI.Settings
	if ((typeof HMI !== "undefined") && (typeof HMI.Settings !== "undefined") && (typeof HMI.Settings.addEventListener !== "undefined")) {
		HMI.Settings.addEventListener("languageSet", ChangeLanguageDisplayed(WebPortal.getLanguage()));
	}
} catch(e) {
	DealWithHMISettingsError(e);
}

Appeared in Software version 30.11.04.10