Testing a Bundle for Internationalized Strings

You can check resource bundles for missing key and value pairs by using the Internationalization Test wizard. The wizard looks for all internationalized string keys (with a customizable meaning) in the source and checks for a corresponding key and value pair in the specified resource bundle. You can use the wizard to add any missing pairs.

To test a bundle for internationalized strings:

  1. Choose Tools and choose Internationalization and choose Internationalization Test Wizard from the main window.
  2. Click Add Source(s) to include one or more source files to check. Click Next to proceed.
  3. Specify the resource bundles for the source files. Click Select All to check one resource bundle for all the listed sources. Select a source and click Select Resource to select a specific resource bundle for the source file. Click Next to proceed.

    The wizard lists all of the internationalized strings with missing key and value pairs in the selected file. The wizard automatically suggests key names and values for the string.

  4. Use the Source combo box to switch between source files. Deselect the checkbox in the first column for any string you do not want to include in the resource bundle. Change the key name and value for any string by typing a new value in the appropriate column.
  5. Click Finish to add the missing key and value pairs to the resource bundle.
See also
Code Formats for Internationalized Strings
Adding Arguments for Message Formats
Inserting an Internationalized String Into Source Code
Setting an Internationalizated String With the Form Editor

Legal Notices