Creating a Resource Bundle

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

  1. In the Web Application Development perspective, select File > New > Resource Bundle File from the main menu bar.
  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.
  6. Enter a unique, descriptive name in the Name field.
  7. Enter 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..
  11. To delete a key-value pair, select the resource and click Remove.
  12. To add a property file for a new locale to the resource bundle, click Add Locale, select the name of the locale, and click OK.
  13. To remove a locale from the resource bundle, click Remove Locale, select the name of the locale, and click OK.
Related concepts
Resource Bundle Editor
Related tasks
Binding a Resource Bundle to a Web Page Component

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.