Configuring elements for pre-translation
List XML elements that are to be compared for pre-translation in the translation configuration file.
About this task
<section> element is identical, you want to pre-translate the entire element rather than all child elements separately.
Procedure
Example
<topic> tags. The hierarchy starts with a top level tag, <section>, within the <topic> tags. Other tags within <topic> are listed in order of significance for pre-translation.
<ComparisonElements>
<xPath>//*[contains(@class,' topic/section ')]</xPath>
<xPath>//*[contains(@class,' topic/example ')]</xPath>
<xPath>//*[contains(@class,' topic/shortdesc ')]</xPath>
<xPath>//*[contains(@class,' topic/table ')]</xPath>
<xPath>//*[contains(@class,' topic/row ')]</xPath>
<xPath>//*[contains(@class,' topic/ol ')]</xPath>
<xPath>//*[contains(@class,' topic/ul ')]</xPath>
<xPath>//*[contains(@class,' topic/li ')]</xPath>
<xPath>//*[contains(@class,' topic/sli ')]</xPath>
<xPath>//*[contains(@class,' topic/title ')]</xPath>
<xPath>//*[contains(@class,' topic/navtitle ')]</xPath>
<xPath>//*[contains(@class,' topic/alt ')]</xPath>
<xPath>//*[contains(@class,' topic/indexterm ')]</xPath>
<xPath>//*[contains(@class,' topic/term ')]</xPath>
<xPath>//*[contains(@class,' topic/tm ')]</xPath>
<xPath>//*[contains(@class,' topic/fn ')]</xPath>
<xPath>//*[contains(@class,' topic/xref ')]</xPath>
</ComparisonElements>
</InfoShareTranslations>
<topic> <title>Translation</title>
<body><section><title>Configuring</title>
<p>The translation of topics...</p>
</section></body>
</topic>
In the above example, topic/section or body/section are both valid.