LangID Property
The LangID property contains the language ID.
Syntax
SiteKiosk.LocaleManager.LangID [=long]
|
Possible Values
Long value that specifies or retrieves the ID of the current system language.
|
The property is read/write.
Remarks
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.
Examples
The following example shows the complete and the major language code in alert windows.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
alert("Complete code: " + SiteKiosk.LocaleManager.LangID);
alert("Major code: " + (SiteKiosk.LocaleManager.LangID & 1023));
alert("Minor code: " + (SiteKiosk.LocaleManager.LangID >> 10));
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top