Application.GetInstallLanguage

table Application.GetInstallLanguage ( 

 )

Description

Returns a table containing the primary and secondary language ID that is being used by your installation. The value returned by Application.GetInstallLanguage will always be a value for a language that you added to your project using the Language Manager. It will never contain values for languages that were not explicitly included in the setup.

Note: This action may return a different result than System.GetDefaultLangID.

Parameters

None.

Returns

(table) A table containing the current install language, indexed by the following categories:

KEY

TYPE

DESCRIPTION

Primary

number

The primary language ID of the current language (in decimal format). You can access this value using tb.Primary.

Secondary

number

The secondary language ID of the current language (in decimal format). It can be accessed using tb.Secondary.

If this action fails, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions