<< Click to Display Table of Contents >> Translation filter |
The translation filter defines what should be translated and what should not. The filter consists of a number of filter conditions, specified in individual lines.
Since the major upgrade in cadett ELSA R34, the sequence of the filter conditions is significant. The filter conditions are processed from top down, all the time based on the result of previous conditions. This gives a much larger degree of freedom to design suitable filters, than before.
To modify the filter, you can add filter conditions with the New button, delete them with the Delete button, change them directly or move them up or down using the arrow buttons on the right hand side.
The filter conditions are divided in five columns, which are described in short of the table below. More extensive explanations are found in the sub-topics that are listed below the table.
Filter conditions in translation filters |
||
---|---|---|
Column |
Explanation |
|
COMMAND |
+TRANS
|
Command for filter conditions regarding objects that should be translated |
-TRANS |
Command for filter conditions regarding objects that should not be translated |
|
LAYER |
Refers to the layer in which the attribute or the text object is located |
|
BLOCK |
Refers to the name of the block. For a text object that is not part of a block, the name of the block is empty. |
|
TAG |
Refers to the name of the attribute (the tag name). For a text object, the attribute name is always empty, regardless of whether it is contained in a block or not. |
|
CONTENT |
Refers to the text content of the text object or the attribute. |
Syntax for specification of LAYER, BLOCK, TAG and CONTENT in translation filters |
|
---|---|
Value |
Explanation |
Any text |
A text without wild-cards requires an exact match. Additionally, wild-cards can be used in a number of different ways. Available supported wild-cards are described below. |
* |
An arbitrary number of arbitrary characters, but not an empty string |
** |
An arbitrary number of arbitrary characters, including an entirely empty string |
Empty string |
|
? |
One single arbitrary character |
More extensive explanations of available filter conditions are found in the sub-topics that are listed below.
•TAG