Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
Page Properties
hiddentrue

...

XTM Cloud can be configured to exclude specific text fragments. With this configuration, text fragments are extracted from source files using regular expressions (REGEX) and converting them into inline tags or placeholders. These are called custom-variables.
One <custom-variables/>variables> tag is used to identify one type of variable within a file. There can be more <custom-variables/>variables> tags and they will be processed in the order that they occur in the file.

The configuration, which uses regular expressions, can be created at all three configuration levels (client, customer and project template). It cannot be configured per language. For more information about which configuration levels are available in XTM Cloud, see How can a source file be processed and what are configuration levels?.

...

How does the configuration work?

...

Note

IMPORTANT!

Keep in mind that the start and end inline tags are hidden by default in XTM Workbench. This is to reduce the number of custom variables/inline tags, to make the segments more transparent. However, if an inline tag is in the middle of a segment, then all inline tags will be shown regardless of their position.

The XTM International Support team would need to implement an additional configuration to make them visible.

...

If you have TM matches in which the custom variables have not been added, and the configuration described above is implemented, these TM matches will be returned as Fuzzy matches.

...

Exclusion of text contained within double curly brackets

Very often you might want to exclude from translation any content that is enclosed within double curly brackets {{ }}. For example: {{filesLimit}}.

This can also be done by converting such parts of text into inline tags {1}, via custom variables, as in the example below:

...

Do not hesitate to contact the XTM Support team, to have it configured on your XTM instance as well.