Skip to main content

XTM Cloud 13.8

Analysis manager

The analysis manager allows you to edit the way XTM Cloud processes different file types in different languages. Modifying these rules is a highly technical task and should only be tackled by users with advanced XML skills and knowledge of SRX or ITS rules.

Note

Only custom rules can be edited or deleted.

Segmentation

The segmentation tab displays a list of segmentation rules (SRX rules). You can add a file containing custom SRX rules for a source language and assign it to a particular customer or create a global rule. Custom segmentation is possible. You can view, edit and add new SRX rules.

XTM Cloud supports three levels of segmentation configuration:
  1. The default configuration provided by XTM Cloud.

  2. A customized set of rules for your particular instance of XTM Cloud (system default).

  3. A customized set of rules for individual customers.

Adding a new segmentation rule

Rules can be global or customer-specific.

  1. Create an SRX file. Check Example SRX rules file.

  2. Select Configuration > Settings > Analysis Manager > Segmentation.

  3. Add a Name for your rule.

  4. Select the Customer section.

    Note

    Select All customers to create a global segmentation rule.

  5. Select the Source language

  6. Select SRX rules file.

  7. Select Add rule.

  8. Select Create.

Content
ITS rules

In the Configuration > Settings > Analysis Manager > Content tab, you can view, edit and define new ITS rules.

The content section lists the ITS rules in the system. ITS rules are used to allow you to determine which part of the source file should be translated. XTM Cloud provides ITS rules for all the file formats supported by the system, however, sometimes the translation process may require a specific configuration.

Note

Only custom rules can be edited or deleted.

Editing ITS rules
  1. Select Configuration > Settings > Analysis Manager > Content

  2. Select the menu icon menu-old.gif next to the rule.

  3. Enter your changes and Save.

During file analysis in XTM Cloud, the extract module decides which ITS rule to apply by checking in order:
  1. The file extension.

  2. If a known file extension is not found, then XTM Cloud assumes the file is an XML file.

  3. The root element name.

XTM Cloud supports three levels of ITS rules configuration
  1. The default configuration provided with XTM Cloud.

  2. A customized set of rules for your particular instance of XTM Cloud (system default).

  3. A customized set of rules for individual customers.

Based on these 3 levels the rules are applied in the following order:
  1. XTM Cloud checks to see if there is an appropriate rule in the customer’s configuration file.

  2. If there is no rule for the customer’s configuration, XTM Cloud searches in the system’s configuration.

  3. If there is no rule for the system, XTM Cloud searches in the default configuration.

  4. If there is no default configuration the system will automatically generate rules for a given file.

With each rule, it is possible to define whether or not to use the HTML parser and whether or not to maintain white spaces in the file. If the source file includes HTML and this can be an XML, Word, Excel, or properties file, then you can use the HTML parser to extract translatable text from the HTML. Otherwise, all the HTML will be taken for translation.

Note

If you want to embed HTML in XML, either wrap the HTML in a CDATA section or escape the HTML tags so as not to conflict with the XML tags.

For examples of ITS rules, go to Internationalization Tag Set