Customizing Keywords

 

Use this option to define the location of a keyword file. Keywords are used to prevent words or phrases from being translated and included in word count analysis reports.

Defining Keywords

Keywords are defined using regular expressions and are displayed as placeholders in the translator toolbar. These definitions can be saved in a text file which can be specified using this dialog panel.

Sample Keyword File (Keyword.txt)

Alchemy

[0-9]+

Copyright

In the example above a single keyword in defined on each line using a regular expression,

Keyword Definition

Description

Alchemy

Defines a keyword "Alchemy"

[0-9]+

Defines a keyword containing one or more digits. This is a powerful and easy was to lock all numerical data in a project and to exclude these from word count analysis reports. See Customizing Word Count also for more information on this.

Copyright

Defines a keyword "Copyright"

Applying Keywords to a Project file

This is referred to as Locking keywords. To lock  keywords to a Project TTK, use Tools->Keywords->Lock Keywords from the Alchemy main menu. In the example above, the following segment would be displayed as follows in the Translator Toolbar if these keywords were applied to it.

Each word that matches a keyword definition is displayed with a blue underline and is locked and excluded from the translation process. It is also not included in any Word Count analysis reports.

 

Keywords are also protected when using the Alchemy  Pseudo-Translate Expert.

Removing Keywords from a Project file

This is referred to as Unlocking keywords. Use Tools->Keywords->Unlock Keywords from the Alchemy main menu to permanently remove keywords from a Project file.