Locales View

InstallAnywhere 2020 » Advanced Designer » Project

Use the Locales view on the Project page to configure project-level language settings.

Tip • To specify the locales that your project supports, use the Locales subtab. To access the Locales subtab: On the Build page, click Build Installers, click the Build Configurations tab, and then click the Locales subtab. For more information, see Locales Subtab.

The following settings are available in the Locales view:

Locales Settings

Setting

Description

Sort keys generated in the locale files

Automatically sorts keys in alphanumeric sequence within each locale file when you save the InstallAnywhere project with which the locale files are associated. As a product of the sorting routine, InstallAnywhere removes extra spaces and line breaks and deletes any non-auto-generated comments

Preserve layout of the locale files

Retains the existing sequence, formatting, and comments in each locale file when you save the InstallAnywhere project. InstallAnywhere does not sort the keys. All space, carriage return, and line feed characters are preserved (see note). If the Preserve layout of the locale files check box is selected, InstallAnywhere retains all existing comments in the project's locale files.

Note • Even if this check box is selected, the comments that are immediately preceding each key (containing the English version of the translated text) are still overwritten.

Remove unused keys from the locale files

Deletes the keys that are associated with panel or console actions that have been removed. This option also removes any key you replace with a reference to an external resource bundle key.

Selecting this check box removes the unused keys that InstallAnywhere automatically generates for a panel or console each time that you save the project. This option also removes the comments that are immediately preceding each key as well as the line break following each key-value pair. Keys that are associated with custom code are always preserved.

External Resource Bundle Settings

Shows any external resource bundles that are included in the project:

Bundle Name—The name of the external resource bundle as it is referenced in your InstallAnywhere project. This name is used each time you reference a key in the bundle’s locale properties files. (For more information, see Referencing an External Resource Key.)
Resource Bundle Path—The path to the locale properties files that make up the external resource bundle.

Note • For more information about adding external resource bundles to the Locales view on the Project page, see Adding an External Resource Bundle.

See Also