Dictionary (Data Representation in the D2000 System)

Dictionary (Data Representation in the D2000 System)

In the D2000 System application, there is possible to display some data in several languages. The feature is allowed by means of the program Dictionary.
Within the frame of the Dictionary, you can define languages, keywords and texts, which are assigned to individual keywords.

The procedure for defining your Dictionary is very simple. At first, you have to define the languages, which form the table columns (see the dialog box below). Then define the keywords (the column Key) and text (translations).
The keywords will be used for various definitions (e.g. object description, technical units, user tool description, ... - see the list at the end of the topic). According to your language selection, these definitions will be displayed as they are defined for a particular language in the Dictionary.

In the configuration of the user's parameters, you can either define the language for a user, allow them to switch among the defined languages, or enable them to edit the Dictionary.

To open Dictionary:

  1. In the D2000 CNF process, click the item Dictionary from the menu Application settings.

  2. In the D2000 GrEditor, select Dictionary from the menu Configuration D2000 or click the Dictionary button in the toolbar.

  3. Press the shortcut CTRL+L when you define a text in the input field (it is applied for D2000 CNF, D2000 HI, D2000 GrEditor), or click the button placed next to the entry field. Selected text from the field is copied to the filter and may be used as a base for defining a new key. When using the dictionary, the field is highlighted with bright green colour and may use the keyword.

Example of the dictionary configuration in the D2000 System:

Dictionary - dialog window
Dictionary - dialog window

The dialog window is divided into the following parts:

Filter

The filter enables the selection of the required list of keywords or translations from the dictionary.

Control buttons:

Deletes a text from the filter and cancels filtering.

Creates keywords based on text in the filter or enables editing the translation for the selected language.

Functional buttons

Opens dialog window List of keywords and translations.

Opens dialog window containing detailed information.

Deletes all keywords from the dictionary.

Deletes unused keywords from the dictionary.

 

 

Exports (saves) the dictionary into the *.csv file. The keys can be exported also with a time stamp modify time. Clicking the export button, the above-mentioned modal window opens.

Modal window
Modal window

Exports (saves) the used keywords into the *.csv file. The keywords can be exported also with a time stamp modify time. Clicking on the export button, the above-mentioned window opens.

Exports (saves) the unused keywords into the *.csv file. The keywords can be exported also with a time stamp modify time. Clicking on the export button, the above-mentioned window opens.

Exports (saves) the selected keys into the *.csv file. The keys can be exported also with a time stamp modify time. Clicking on the export button, the following modal window opens.

Imports the dictionary from a file.

Notes:
1. When exceeding the permitted number of languages, the user will be notified and the language is not created. The permitted number of languages is specified in your D2000 System Licence.
2. When the dictionary is imported without the time stamps, then the time stamps of the translation are set according to the import time or they are acquired from csv file.
3. When some error regarding a key length, a key validity (the key need not be enclosed by white spaces) or the time stamp validity occurs, the user must approve the import. If the import is aborted, no word is imported from csv file, otherwise, only incorrect records are skipped at the import (a record = the key with translation).
4. Csv file, exported from Dictionary info dialog box, may be also imported from this main dialog window.

Defining the languages. Clicking the button opens the dialog window for defining the language.

List of keywords or translations

The contents of the list depend on the filter - keywords or language variations.
If the list contains the keywords, it is able to change their names. When editing the key, there may occur these colours:

  • Black – the original name,

  • Blue – a new, nonexistent name,

  • Purple – a new name already exists,

  • Red - the text does not match the conditions for the keyword name, a blank space is either at the beginning or end of the text.

The background of the new keywords is light blue.

If the list contains the keywords, press the right mouse button over the list to open the following menu:

  • Create key – adds the key according to the key, over which the mouse cursor is

  • Delete key – deletes the key, over which the mouse cursor is, from the dictionary

Entry field to define keywords and translations

When creating the new key, a user must enter the name and translations into the text field. Over the text field, there are these buttons: