Adding a Property

You can add a new property to all of the locales in your resource bundle using the properties pane of the Source Editor. If you only want to add a property to one locale, you can do so using the New Property dialog box.

To add a new property to all locales in a resource bundle:

  1. Double-click the properties object node (Properties object node icon) in the Explorer.

    The Source Editor properties pane opens displaying all existing keys and their values for each locale.

  2. Click the New Property button.
  3. Enter a key and its default value for the new property. You can also add a comment along with the key and value. The comment is displayed when you click the value for that locale's key.
  4. Click OK. The property appears in the properties pane of the Source Editor with the default value entered for each existing locale.
  5. If you want to set a different value for each locale, enter the new values in each locale's column.
  6. Choose File and choose Save to save the file.

To add a new property to a specific locale:

  1. Expand the properties object node in the Explorer.
  2. Right-click the node of the locale for which you want to add a property and choose Add Property.
  3. Enter a key and a default value for the new property and click OK.
  4. Choose File and choose Save to save the file.
See also
Modifying a .properties File
Adding and Removing a Locale
Removing a Property
Setting Properties Files

Legal Notices