Translations

On Projects, select a project and click the Translations menu to open the Translation page. This page contains a data grid that displays all translation files. On this page, you can configure the actions and test the current translation file.

The URL is: /#/project/{siteName}/xlt/list.

Note: The master site translation files do not display.

Name is the translation file name and link to the Edit/View Translation page.

When you click a column header, the translation files are sorted and filtered.

On the toolbar:

  • Site Doc opens the Site Documentation page from CIS.
  • Test opens the Translation Test dialog box.
  • Save is enabled when you click the Move Up/Move Down/Remove/Activate/Deactivate button.

The Move buttons are enabled when one or more continuous rows that share the same parent are selected.

The Activate/Deactivate buttons do not display in these conditions:

  • The selected row is a child of a deactivated parent row.
  • The selected row is an Else action and the above If action is a deactivated row.

Action Detail dialog box

Click Detail to go to the Action Detail dialog box. This displays the same action data that is listed on the Site Document.

Click the link in the dialog box to go to the corresponding translation/table page for the Include and Table actions.

Translation actions

All defined translation actions are listed on the Translation Action table.

Click Detail, or the operation action name, to open the Action Detail page.

On this page, Description displays the action’s source and destination values. For example, “0(0).N3(0).#1(0) -> _implicitRules.extension(0).valueInteger”. The content of the action is a comment.

Translation Test dialog box

This dialog box displays the test screen for translation files.

These actions are available:

Field/Action Description
Enter data message

Specify the translate file data.

Choose data file

Select the data file from $HCISITEDIR/Translate/.

Process all records/Process one record

Click Process all records for the system to read the selected data file and process all messages in it.

Click Process one record for the system to read the selected data file and process only the first message in the file.

Show field names

Select to display field names.

Leak detection

Select to run memory leak detection.

Print unreadable characters

Prints unreadable characters without changing to hex, and instead prints in readable print.

Detail level

Select the detail level for the test output that is reported in the Result pane.

Detail levels go from 0 (raw, unparsed data) to 4 (most detail).

Line termination format

Select the format in which the test messages are saved:

  • "Newline Terminated" reads the data in the file until it finds a newline character, makes all the data one message, and sends that to the parser. It then reads until it finds the next newline character, makes a second message, and sends that to the parser.
  • "Length Encoded" reads the first 10 characters to determine the length of the first message, reads that many characters into a message, and then sends it to the parser.
  • "EOF Terminated" reads the file until it gets to the end-of-file character, takes that as a message, and sends it to the parser.
Encoding

Select multi-byte encodings. When an encoding is selected, an -e encoding option is added to the corresponding command line.

Result

Displays the test result after clicking Run Command.

Run Test

Click this to run the command and then display the command output in the Result text area.

If the test fails, then error information displays in the Result text area.

This keeps the last setting information to the local session and displays the information when the dialog box is reopened.