A dialog window opens from the D2000 CNF menu, tab Application parameters -> Generating the dictionary.
A generator will search the selected objects for texts which can contain keywords for the dictionary.
If these texts are not empty and they do not contain keywords, the generator will create a key (word) and it will store it (keyword, text) in the dictionary.
The text will be inserted into a language mutation given by the default language for the user to perform the automatic generating of a dictionary.
The generator also changes the configuration of selected objects to use the generated keywords.
The described process of generating can be controlled by the following dialog box:
Functional buttons enable the control of various aspects of the generation of dictionaries.
![]() | The button will select objects for the generation of the dictionary. |
![]() | The button will deselect objects for the generation of the dictionary. |
![]() | The button will open selected objects for modification and key generation. |
![]() | The button will save changes by:
|
![]() | The button will close the dialog box without saving any changes. |
This list contains all texts in opened objects and their status in the following columns:
Column name | Description |
Full KEY name | Every text in the configuration of the object is uniquely determined by its name. This name is used as a key in the dictionary. It consists of object_name + object_property_name + sequence_number. A name constructed in this way can be longer than the maximum permitted keyword length, therefore it’ll be truncated if necessary. |
Dictionary KEY name | Real key name for the dictionary (truncated if necessary). |
Status | Text description of the keyword status:
|
Text from the object’s configuration | The text is contained in the configuration of the object. |
Text from dictionary | Text will be the result of translating the text from the object’s configuration using the dictionary. |
Description of the keyword status:
State | Description |
ERR: cannot generate keyword | Internal error. It occurs if the process of automated key generation was unsuccessful for a given text. |
Empty string in object’s configuration | The object’s configuration contains an empty string. No keys will be generated for empty strings. |
Already translated text | Configuration of the object contains text which is already in the dictionary. No key will be generated for such a text. |
New key generated | Text in the column Text from the object’s configuration will be inserted into the dictionary under a given key. The object’s configuration will be modified by replacing the text with the key. |
Key exists with different text | Generated key already exists in the dictionary, but it’s assigned to a text different from the text in the object’s configuration. Action Save will not use this key. |
Key exists with necessary text | Generated key already exists in the dictionary and it’s assigned to the same text as is in the object’s configuration. Action Save will not modify the dictionary, it’ll only modify the configuration of the object by replacing text with the key. |
Due to the amount of information displayed in the list of keys may be desirable to apply filters to display only:
A. Keys belonging to a certain object (choice Keys list for selected object/all keys).
B. Rows which will cause the change of configuration of the dictionary or of some of the selected objects. In this mode also rows reporting errors during key generation or rows indicating conflict "Key exists with another text".
Data representation in the D2000 system |