# OnLanguageChange Event Fires when a user changes the SiteKiosk language. Syntax
    SiteKiosk.LocaleManager.OnLanguageChange = handler
Parameters
langid | Long value that contains the language ID.
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example shows the current language ID when it has been changed.
    <div id="id_langid"></div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.LocaleManager.OnLanguageChange = OnLanguageChange;
    function OnLanguageChange(langid)
    {
       id_langid.innerHTML = "Current language: " + langid;
    }
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top