Adding a Property
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:
- Double-click the properties object node (
)
in the Explorer.
The Properties Editor is displayed showing all existing keys and their
values for each locale.
- Click the New Property button.
- 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.
- Click OK.
The property appears in the Properties Editor with the default value entered
for each existing locale.
- If you want to set a different value for each locale, enter the new values
in each locale's column.
- Choose File
Save to
save the file.
To add a new property to a specific locale:
- Expand the properties object node in the Explorer.
- Right-click the node of the locale to which you want to add a property and
choose Add Property.
- Enter a key and a value for the new property and click OK.
- Choose File
Save to save
the file.
Legal Notices