Referring to an NLS properties file when editing a view

About this task

When adding a widget containing a text (for instance, Label widget) to a view, the tooling allows to select the properties file that is going to contain the associated text, as part of the NLS enablement.

When you add new NLS item, it will be added either to the local project or to the global project, depending on the properties file you have selected. If you are modifying the NLS files in a global project, you need to build the global web project before the application deployment to generate the NLS related runtime artifacts. To build the project, please right click on it and select the context menu option ‘Build BTT Project’.

Procedure

  1. Go to the Properties tab of the Widget.
  2. Click on the Browse button of text.
    Then the NLS selection dialog pops up.
  3. The available properties files are listed and in a multi-project support environment, those defined in global web projects are also shown. The NLS search capabilities are also enabled in a multi-project environment.
  4. Make sure no file is selected and input a specific value on the filter textbox. Then it returns all occurrences of this value in all properties files in the workspace, as shown in the image below:
    Note: for more infomation about NLS usage, please refer to NLS Support.