Project: HiCAD 2-D

HiCAD Dictionary

2-D Dimensioning + Text > Edit (Text) > Language > HiCAD Dictionary 

With this option, you edit the HiCAD Dictionary, on which the automatic translation of texts (e.g. 2-D/3-D annotations tags, 2-D text blocks, 2-D/3-D text, 2-D/3-D auxiliary dimensions texts) is based. Clicking the icon starts an independent program called WBEdit.exe, which you can use in parallel with HiCAD. The following section provides a description of the following function areas:

For example, whenever you enter a text that appears in the graphic in HiCAD, you can also immediately enter this text, together with its translations, in the HiCAD dictionary. Once you have started the program at least once via HiCAD, as described here, you can also edit the dictionary without running HiCAD. To do this, you start WBEdit.exe in directory \hicad2\exe, e.g. via Explorer.

The file names are assigned automatically. Up to 99 languages or language combinations can be managed.

The directory for the saving of created files (*.UEB) can be changed via the Configuration Editor at (System settings > Directories > [Path of file to be translated]). The default setting for the HiCAD SYS directory is Z.

In the Configuration Editor you can also specify whether upper and lower case letters are to be taken into account when translating texts. The default setting is Consider. You can find this option at System settings > Miscellaneous > Translation -Upper and lower case letters. For a change of this setting to take effect, HiCAD needs to be restarted. The setting will not be saved in the drawing or in the text; it is a pure system setting.

WBEdit.exe provides the following functions:

To modify records:

The entries in the input fields of the language combinations are created automatically.

To edit and process new dictionary languages:

When a language combination is created, the records are filled automatically.

For each language defined in the dictionary, there is an input field for the corresponding text. The input field is prefixed with a number. The field containing number 1, i.e. the uppermost field, belongs to the reference language.

The reference language is usually the language from which translation is performed. The rule for this language is that a text is only allowed to appear once in the dictionary.

This ensures that the translation is always unambiguous. Entries assigned to one another in the various languages of the dictionary form a data record.

The input fields are used both for entering a new record and for displaying an existing one. If you click Clear fields (at the bottom left of the dialogue box), the texts are removed from all input fields, which does not, however, mean that a displayed record is thereby removed.

The buttons available in the dialogue box provide the following operating options:


Find

  1. Select the language in which you want the search to take place.
  2. Enter a Search key in the input field.

The wildcards * and ? can be used in the standard meaning. You can use the Clear fields button to delete the contents of the input field. An empty field is interpreted like an *; every text corresponds to this search key.

  1. Decide whether case-sensitivity is part of the search condition.

Then choose:

  1. Activate the list.

You will be provided with a list of all records matching the search key you defined.

  1. Select a data record and activate OK.
  2. Cancel if you do not want to copy a record to the input fields of the main dialogue box.
  3. Choose OK after selecting the row of the record the contents of which you want to copy to the input fields. Or select the row of the desired data record.

You use the following buttons to position a pointer within the dictionary. The record at the pointer position is displayed in the input fields. The system always searches for a record matching the defined search key in the direction you choose.

Supply record closest to the beginning of the dictionary.

Supply record which is closest to the current data record in the direction of the beginning of the dictionary.

Supply record which is closest to the current data record in the direction of the end of the dictionary.

Supply record closest to the end of the dictionary.

If you have entered text in one of the input fields and if you have not pressed Change or New to apply the record that you have changed or newly created in this way, the question: Discard changes? appears. If you would now like to save the newly changed or newly entered record, choose No; if not, click Yes.

If the value 1 has been entered in the Configuration Editor (ISDConfigEditor.exe ... > System settings > Miscellaneous > Ignore spaces for translation, spaces will be ignored. In other words, if no matching line is found during text translation, the text will be evaluated again, but this time as though it had no spaces.


Record

New

The contents of the input fields are copied to the dictionary as a new record. The system checks beforehand whether the text entered in the uppermost input field already exists in the dictionary in the corresponding language (reference language). If it does, no new record is created, but the following message displayed: A relevant entry already exists. Display?. Click Yes if you want the existing record to be displayed in the input fields; otherwise, click No.

Change

If you have changed the contents of one or more input fields in the displayed record, you can use this option to transfer these changes to the dictionary.

Please note that the entry in the reference language is used to identify a record. If you change the entry in the input field of the reference language and if a record containing this changed entry already exists, the record pointer is moved to this record.

You will then no longer process the previously displayed record. If the reference language does not yet have a record containing the changed entry, the system displays a message to the effect that no corresponding record has been found.

Delete

This option enables you to delete the currently displayed record. Click Yes to confirm the displayed security prompt. If you do not want to delete the record after all, click No.


Language

The effect, in terms of the above-mentioned processing of records, of the following functions for processing the dictionary languages is as though you had chosen End (see below) and then re-started the dictionary editor.

 

New language

Use this function if you want to add a language or language combination to the dictionary. If you would like to create a new language, enter the description of this language at the top of the input field and then click OK.

If you want to create a new language combination, switch entry to Language Combination and choose the languages that you want to combine (two or three).

The description is constructed automatically in the bottom input field from the descriptions of the languages involved. You can, however, still change it. Finally, click OK.

 

The new language or language combination is created immediately. The entries of a new language initially consist of characters --- for all records. You will therefore need to change each record by replacing this default value by the correct translation of the text of the reference language into the new language. The entries of a new language combination are created automatically from the entries of the languages involved.

Delete language

First select the language or language combination that you want to delete and then click Delete. The language is immediately completely removed from the dictionary.

 

Rename

This function enables you to change the description of a language or language combination.

  1. Select the language or language combination to which you want to give a different description.
  2. Enter the new description in the input field and then click OK.

The description of the language is changed immediately.

 

Sequence

You can use this option to change the sequence of languages in the main dialogue box and in the selection lists. Please note that the language containing number 1 is interpreted as the reference language.

  1. After confirming the explanations with OK, specify the new sequence, in the left-hand column, by entering the relevant numbers.
  2. Click Apply to save the new sequence .

Click Cancel if you do not want to change the sequence.


Close Dictionary

The records of the dictionary are processed in a temporary processing file. The newly created, changed or deleted records do not affect the translation function in HiCAD until the contents of the processing file have been transferred to the translation files on ending the dictionary editor. This means that, if you have not applied the record by choosing Change or New, you can discard the changes by choosing Cancel.

If you execute End, all changes (Create, Change, Delete) made to the records in the course of a session are transferred from the processing file to the translation file and are hence available for the translation function in HiCAD.

TranslateText Tools (2-D)

© Copyright 1994-2019, ISD Software und Systeme GmbH
Version 2402 - HiCAD 2-D
Date: 06/10/2019

> Feedback on this topic