Creating a Resource Bundle

Create a resource bundle to externalize strings for internationalization support in a Web application.

To create a resource bundle:

  1. In the Web Application Development perspective, select File|New|Resource Bundle File from the main menu bar.

    The Resource Bundle File wizard opens.

  2. Select the project in which you want to create the resource bundle.

  3. Type a unique, descriptive name for the resource bundle.

  4. Click Finish.

    The Resource Bundle Editor opens.

  5. To add a key-value pair to the resource bundle, click Add.

    The Property dialog box appears.

  6. Type a unique, descriptive name in the Name field.

  7. Type the value in the Value field.

  8. Click Finish.

    The name and value appear as defined resources in the editor.

  9. To move a key-value pair either up or down in the list, select the resource you want to move and click Move up or Move down.

  10. To edit a key-value pair, click Edit and make the appropriate changes to the name and value.

  11. To delete a key-value pair, select the resource and click Remove.

Binding a Resource Bundle to a Web Page Component

Developing a Web Application

Resource Bundle Editor

Web Application Development Perspective

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com