Testing Bundles for Internationalized Strings

You can check resource bundles for missing key-value pairs with the Internationalization Test Wizard. The wizard looks for all internationalized strings in the source, if a corresponding key-value pair is not found in the chosen resource bundle, you can use the wizard to add them.

  1. Choose Tools Internationalization Internationalize test wizard.
  2. Click Add Source(s) to include one or more resource bundles to check. Click Next to proceed.
  3. Click Select All if you want to have one resource bundle for all the listed sources. Otherwise, select a source and click Select Resource to choose a specific resource bundle for the source file. Click Next to proceed.
  4. Choose the source containing the key-value pair you want to modify from the Source combo box.

    Any strings found that are not internationalized are listed in the Found Hardcoded Strings pane. You can edit the value but not the key.

  5. Click Finish to add the missing key-value pair to the resource bundle.

    If you do not want to include a specific string, uncheck the checkbox for that string before clicking Finish.

See also
Replacing the Code Format

Adding Arguments for Message Formats

Inserting Internationalized Strings Into Source Code

Setting Internationalization Strings With the Form Editor

Legal Notices