<trans-unit> Element Extension
<trans-unit> Element Attributes
The following Across-specific attributes are applied to the <trans-unit> element:
state-id | Identifier of the translation unit (paragraph) state. |
state-name | Name of the translation unit (paragraph) state. The state-name attribute values depend on the localization language of the Across Server. |
state-flags | Mixed attribute, contains additional transitional states (e.g. Locked, Pre-translated, Keep Source) as well as other characteristics (Updated, Context match, etc.). |
referencing-trans-unit-id | ID of the trans-unit, which depends on this trans-unit (in other words id of "parent" trans-unit). E.g. for Docx document, this trans-unit contains hyperlink displayed text and the "parent" trans-unit contains a paragraph with the hyperlink element. |
referencing-element-id | Element-id of the parent element of the parent trans-unit. |
referencing-property-type | Enumeration of strings which defines possible type of referenced property.
|
- The following XLIFF standard attributes are applied to the <trans-unit> element and serve for length restriction:
- maxwidth: optional, integer, the maximum amount of Unicode characters for the <target> content of a <trans-unit>
- size-unit: optional, is always "char"
Trans-unit example:
<trans-unitid="16"ax:state-name="Touched"ax:state-id="2"ax:state-flags="8519680"maxwidth="20"size-unit="char"><source><bptid="1"rid="1"ax:s-id="5"ax:s-is-base-style="True"ax:s-font-name="Arial"ax:s-font-size="10.0"ax:s-fore-color="-16777216"ax:s-bold="True"ax:s-italic="False"ax:s-underline="False"ax:s-strike="False"ax:s-script="Baseline"ax:s-caps="Normal"/><bptid="3"rid="2"ax:s-id="1"ax:s-bold="False"/> What’s New in Across <phid="1"ax:element-id="1">v6.3</ph>? <eptid="4"rid="2"/><eptid="2"rid="1"/></source><target> ... </target></trans-unit>