Adding a Property

See Also 

You can add a new property to all of the locales in your resource bundle using the Properties Editor. If you want to add a property to only 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 Filesystems window.

    The Properties Editor is displayed showing 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 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 Filesystems window.
  2. Right-click the node of the locale to which you want to add a property and choose Add Property.
  3. Enter a key and a 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
Editing Resource Bundles

Legal Notices