LANGUAGE statement
LANGUAGE %nLang%, %nSubLang% store(&language) "%nLang%, %nSubLang%"
The LANGUAGE statement in Keyman Desktop 7.0 specifies the system language that a keyboard should be associated with. This parameter is only used with Keyman Desktop Professional - the Light edition does not support language association.
When using the Professional version of Keyman Desktop, if the specified language is available on the user's system, Keyman Desktop will install it and associate it with the keyboard for the Keyman Desktop keyboard. The Keyman Desktop keyboard will then be activated whenever the language is selected using Windows' language selector in the taskbar.
Administrative privileges are NOT required to install a keyboard with the LANGUAGE option under Keyman Desktop 7.0.
One situation where the LANGUAGE keyword is very useful is in writing a Keyman keyboard for a right-to-left language. If you specify a right-to-left language with the LANGUAGE keyword, then the keyboard will work as expected; otherwise it will produce left-to-right output.
Example
store(&language) "1, 1" c Use this keyboard with the Arabic locale
store(&language) "9, 1" c Use this keyboard with the US English locale
Versions
The LANGUAGE statement was introduced in Keyman 4.0.
Microsoft language identifier reference