Testing a Bundle for Internationalized Strings

You can check resource bundles for missing key-value pairs with 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-value pair in the specified resource bundle. You can use the wizard to add any missing key-value pairs.

  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 choose a specific resource bundle for the source file. Click Next to proceed.

    The third panel of the wizard opens listing all of the internationalized strings with missing key-value pairs in the selected file. The panel 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 entering a new value in the appropriate column.
  5. Click Finish to add the missing key-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