Creating and Deleting a Resource Bundle

See Also 

The IDE enables you to manage resource bundles and the various key and locale pairs stored within them. When you use the New wizard to create a new properties file, the IDE automatically creates a .properties file for the default locale to which you can then add specific properties and additional locales.

To create a resource bundle:

  1. Choose File > New to open the New wizard.
  2. Select the project in which you want to create the resource bundle.
  3. Expand the Other node in the Categories pane, select Properties File in the File Types pane, and click Next.
  4. Type the file name in the File Name field, and enter the location where you want to create the resource bundle. Then click Finish.

    A properties file is created with a .properties suffix. The Files window displays a properties object node (Properties Object Node) for the resource bundle with one locale subnode (Properties Locale Node) for the default locale.

To delete a resource bundle:

  1. Right-click the properties file in the Files window and choose Delete.
  2. In the verification dialog box, click Yes to remove the file.

The IDE removes the specified .properties file including all locales and keys contained within it.

See Also
Modifying a Properties File
Adding and Removing a Locale
About Resource Bundles

Legal Notices