Referencing an External Resource Key

InstallAnywhere 2021

To reference the keys that you created in the locale properties files of your external resource bundle in your installers, use the following syntax.

$L{Bundle_Name.Key}

Bundle_Name represents the name that you provided in the External Resource Bundle Settings table in the Locales view of the Project page. Key is the key for the localized value that you want to show in your installer.

External resource bundle keys function just like InstallAnywhere variables—except they always acquire their value from the locale files in your external resource bundle (according to the value of $INSTALLER_LOCALE$). Hence, if the installer locale is FR (French), the value of a key reference is set by that key’s value in the French locale properties file within your external resource bundle. (The installer locale is commonly set by the locale of the target system, the default installer locale, or the locale that the end user selects on the splash screen.)

Tip:Many of the most common panels have dynamic text elements that include default values. For example, the Introduction panel provides default text for the panel title and message. InstallAnywhere provides localizations in all supported locales for these default values. If you enter a reference to an external resource key in place of the default text, InstallAnywhere uses the locale files in your external resource bundle instead of InstallAnywhere’s built-in dynamic locale files.

See Also