LangID Property

The LangID property contains the language ID.


    SiteKiosk.LocaleManager.LangID [=long]
Possible Values
    Long value that specifies or retrieves the ID of
    the current system language.

    The property is read/write.
    This property consists of a major and a minor language code. Use "& 1023" to receive the major language code or ">> 10" to receive the minor language code.
    The following example shows the complete and the major language code in alert windows.

    <SCRIPT TYPE="text/javascript">
    alert("Complete code: " + SiteKiosk.LocaleManager.LangID);
    alert("Major code: " + (SiteKiosk.LocaleManager.LangID & 1023));
    alert("Minor code: " + (SiteKiosk.LocaleManager.LangID >> 10));

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top