The CurrentLanguage property contains the current language ID.
Long value that specifies or retrieves the ID of
the current 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 displays the complete and the major language code in alert windows.
curLan = SiteCafe.LocaleManager.CurrentLanguage;
alert("Complete code: " + curLan);
alert("Major code: " + (curLan & 1023));
alert("Minor code: " + (curLan >> 10));
SiteKiosk v6.2 (and later versions).
Back to top