Lexicon Report view

The Lexicon Report is the default view displayed when you select the Lexicon Tool. Lexicon Report view lists all module-based and file-based lexicon locales installed on your Workbench PC. For detailed information, see Lexicon Report view.

When selecting the Lexicon Tool from the Tools menu, the default view is the Lexicon Report, as shown below. The left side of this view shows a list of all module-based and file-based lexicon locales installed on your Workbench PC. Each lexicon module (one module per language) contains text-based lexicon files (moduleName.lexicon).

 NOTE: It is possible to have lexicon files in the !lexicon folder, and not have a lexicon module. You can deploy custom lexicons in any file-based and/or module-based combination. 

A lexicon module is conventionally named niagaraLexiconXx and includes a two-letter language designation, such as “De” for German or “Fr” for French (niagaraLexiconFr.jar is the French lexicon module). As needed, you click a lexicon to select it.

 NOTE: To load the default English lexicon in the Lexicon Report view, click the New Lexicon button and type in “en” in the text field of the New Lexicon dialog box. Click the Ok button and the lexicon displays in the Lexicon Report view. After this initial display, the “en” name is always listed in the lexicon pane unless you use the Delete Lexicon button to remove it.
Figure 4.   Lexicon Report view
Image
 

Selecting a lexicon in report view shows various status parameters about each lexicon (broken down by module) in the table columns on the right side. These status parameters include the following:

  • Module

    Each module that contains a lexicon file (moduleName.lexicon).

  • Module Last Modified

    Timestamp of when the lexicon in the module (JAR file) was last modified.

  • Default Last Modified

    Timestamp of when the default lexicon file (!modules/moduleName.jar/moduleName.lexicon) for that module was last modified. This field is blank if there is no lexicon file for that module. However, you can still edit that module’s lexicon and Save, which creates the lexicon file and updates this timestamp field.

  • Lexicon Last Modified

    Timestamp of when any module-based or file-based lexicon file for the selected lexicon was last modified. This field is blank if there is no lexicon file for that module. However, you can still edit that module’s lexicon and Save, which creates the lexicon file and updates this timestamp field.

  • Missing

    Number of keys that are missing values (in the lexicon for that module).

     NOTE: Check boxes at the top of report view allow you to “hide” values that could affect “missing” status counts, as described in “Lexicon display options”. 

In this view, you can also add (new) lexicons, delete unwanted lexicons, or search all available lexicon property values that contain a given text. Additionally, from this view you can launch the Lexicon Editor view by double-clicking any module row, which shows the contents of that lexicon file.