Adding Parameters
To enter substitution parametersfor a message format:
- In the Internationalize dialog box, click the Parameters and
comments... button in the String pane.
- 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.
- Type code for the parameter in the Code field and click OK.
- 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:
- In the Internationalize dialog box, click Parameters and
Comments... in the String pane.
- Type your comments in the Comment text area of the Parameters and
comments dialog box and click OK.
Legal Notices