Adding Parameters

To enter substitution parametersfor a message format:

  1. In the Internationalize dialog box, click the Parameters and comments... button in the String pane.

  2. Click Add in the Parameters and Comments dialog box that appears.

    In the Parameters field, a new parameter appears and the insertion point moves to the Code pane.

  3. Type code for the parameter in the Code field and click OK.

  4. Add the substitution parameters (for example, {0}, {1}) to the localized value in the properties file.

See the documentation for java.text.MessageFormat for more information on using localized strings with parameters.

To add comments to your properties file:

  1. In the Internationalize dialog box, click Parameters and Comments... in the String pane.

  2. Type your comments in the Comment text area of the Parameters and comments dialog box and click OK.

See also
Adding Parameters
Inserting Internationalizated Strings Into Source Code
Setting Internationalization Strings With the Form Editor
Setting Properties Files
Adding and Removing Locales

Legal Notices