Skip to main content

XTM Cloud 13.8

Editing an existing custom variable configuration

Tip

This module requires some prior knowledge of Regular Expressions ("regex").

You can use custom variables to select a specific sequence of characters using regular expressions. This string can be converted into an inline tag to protect it during translation. In XTM Workbench, it serves as a placeholder that can be moved by Linguists within the target segment. Regular expressions are extremely powerful when it comes to defining a sequence of characters, including special characters. XTM Cloud uses Java Regular Expressions.

Procedure. To edit an already existing custom variable configuration:
  1. In Configuration > Filter templates, select one of the available tabs:

    • Project level.

    • Customer level.

    • Global level.

  2. In the filter template table, find the required template.

  3. Select the chevron down icons angle-down-solid.png next to the selected template and next to Custom variables to navigate to the lowest level of the tree.

  4. Hover over the configuration applicable to the required file type.

  5. On the right-hand side of the table, select the pen-solid.png Edit custom variables icon.

    Result:

    The Edit [file type] – Custom variables popup is displayed.

  6. In the Edit [file type] – Custom variables popup, adjust the custom variables to suit your needs:

    1. To add a new regular expression:

      1. In the Regular expression name text field, enter the regular expression name.

      2. In the Regular expression text field, add the regular expression pattern (for example [^@ \t\r\n]+@[^@ \t\r\n]+\.[^@ \t\r\n]+ ).

      3. Select Add.

      Result:

      Your regular expression is displayed in the regular expressions table and automatically selected for your template.

    2. In the regular expressions table, you can:

      • select the required regular expressions by selecting the checkbox to the left of the regular expressions name.

      • change the priority of the regular expressions by dragging and dropping the grip_vertical_brand_refreshed.svg icon next to the regular expressions name.

      • edit the regular expression and its name by hovering over the required table row and selecting the pen-solid.png icon on the right.

      • delete the regular expression by hovering over the required table row and selecting the trash-solid.svg icon on the right.

  7. Select Save.

Result: the Successfully updated configuration message is displayed in the bottom right-hand corner of the screen.