Using NLS elements

You can use National Language Support (NLS) elements to change the language that is used to display text on widgets.

Procedure

The Label, Button, and Link widgets possess the text and hint properties, which are supported by NLS. Therefore users have the ability to update the language for any of the widgets which are supported by NLS. Below is a brief overview of how these widgets are supported by NLS, where the following procedures can be used:

  1. In the XUI editor, select a Button or a Label widget.
  2. In the Properties view of the Button or the Label widget, click Browse in the Value column of the text property.
    The "Please select an NLS file" window is displayed.
  3. In the "Please select an NLS file" window, select an NLS file, and then select an NLS element from the NLS Elements list.
    Note: In this example you will be using English and Mandarin to change the text on this button.
  4. Right click the Rational® Application Developer icon and select Properties.
  5. Select Find Target from the Rational Application Developer dialog window.
  6. Select the eclipse.ini file from the SDP directory
  7. Modify the eclipse.ini file contents by updating the National Language code
    Use the list of the National Language Support (Code) to change the text within the XUI interface:
    • en_US (English)
    • zn_CN (Mandarin)
    • es_ES (Spanish)
    • ja_JP (Japanese)
    • fr_FR (French)
  8. Save the updates to the eclipse.ini file and restart the Rational Application Developer.