12.5 Language Variable Special System Variables

To minimize the number of Application objects required to distribute the same application in different languages, you can use language variables to represent language-related information in MSI Application objects.

NOTE:For compatibility with traditional ZENworks, the special system variables can also be specified in one of the following formats:

  • %system_variable%

    For example, %LOCALE_USER_LANG%

  • %*system_variable%

    For example, %*LOCALE_USER_LANG%

The following table describes the available language variables:

Table 12-7 Language Variable Special System Variables

Language Variable

Description

%LOCALE_SYS_DEFAULT_ANSI_CP%

Retrieves the American National Standards Institute (ANSI) code page associated with the system locale. If the locale does not use an ANSI code page, the value is 0.

Example: 1252

%LOCALE_SYS_DEFAULT_OEM_CP%

Retrieves the original equipment manufacturer (OEM) code page associated with the system locale. If the locale does not use an OEM code page, the value is 1.

Example: 437

%LOCALE_SYS_LANGID%

Retrieves the language identifier for the system locale. The language identifier is a standard international numeric abbreviation for the language in a country or geographical region.

Example: 0409

%LOCALE_SYS_ABBR_LANG%

Specifies the abbreviated name of the system language. In most cases, it is created by taking the two-letter language abbreviation from the International Organization for Standardization (ISO) Standard 639 and adding a third letter, as appropriate, to indicate the sub language.

Example: ENU

%LOCALE_SYS_ENG_LANG%

Specifies the full English name of the system language from ISO Standard 639. This is always restricted to characters that can be mapped into the ASCII 127-character subset.

Example: English

%LOCALE_SYS_LANG%

Specifies the full localized name of the system language. This name is based on the localization of the product and might vary for each localized version.

Example: English (United States)

%LOCALE_SYS_ISO639_LANG%

Specifies the abbreviated name of the system language based only on ISO Standard 639.

Example: en

%LOCALE_SYS_NATIVE_LANG%

Specifies the native name of the system language.

Example: English

%LOCALE_USER_DEFAULT_ANSI_CP%

Retrieves the American National Standards Institute (ANSI) code page associated with the user locale. If the locale does not use an ANSI code page, the value is 0.

Example: 1252

%LOCALE_USER_DEFAULT_OEM_CP%

Retrieves the original equipment manufacturer (OEM) code page associated with the user locale. If the locale does not use an OEM code page, the value is 1.

Example: 850

%LOCALE_USER_LANGID%

Retrieves the language identifier for the user locale. The language identifier is a standard international numeric abbreviation for the language in a country or geographical region.

Example: 0c09

%LOCALE_USER_ENG_LANG%

Specifies the full English name of the user language from ISO Standard 639. This is always restricted to characters that can be mapped into the ASCII 127-character subset.

Example: English

%LOCALE_USER_LANG%

Specifies the full localized name of the user language. This name is based on the localization of the product and might vary for each localized version.

Example: English (Australia)

%LOCALE_USER_ISO639_LANG%

Specifies the abbreviated name of the user language based only on ISO Standard 639.

Example: en

%LOCALE_USER_NATIVE_LANG%

Specifies the native name of the user language.

Example: English