Setting Properties Files

A resource bundle consists of a set of properties (.properties) files. A properties file can contain one or more properties. You use a properties file to assign specific characteristics to an object, for instance, you can set localization strings in a property file.

Every property consists of a key and a value, and can have multiple locales assigned to it. The key is the name of the property (a label). Locales for a property can have the same keys and have the same values or each locale can have a unique value for the same key.

When you create a property file in the IDE, a node is created in the Filesystems tab in the Explorer. Each locale assigned to a property appears as a subnode under that property.

You can view and edit a .properties file in two ways: in a table format, which enables you to view all the properties and their values for all locales or in a standard text file that lists all the properties and their values for a specific locale.

For information on how to create, remove, and change properties, see:

Creating a .properties File
Adding Properties
Modifying a .properties File
Removing Properties
For information on how to create, remove, and change locales for a property, see:
Adding and Removing Locales
Editing a Locale

Legal Notices