If you need to uniquely identify segments in content for auto-translation, you can set
up triggers to add the @ixia_locid identifier to each segment.
About this task
The triggers mentioned in this procedure work with the element list defined in
locidclasses.xml. Be sure to review that file to ensure all
the elements to which you want to add @ixia_locid are included.
Procedure
-
In the TEXTML Administration perspective, connect to your server.
-
To add
@ixia_locid to elements in CCMS Desktop, locate the
triggers.xml file in the repository's
/system/conf collection.
-
Check out the file and open it for editing.
-
Find the section that begins
<!-- trigger to apply localization ids
on element -->.
<!-- trigger to apply localization ids on element -->
<!--<trigger apply-to="Release" class="com.ixiasoft.cms.triggers.IdentifyElementsOnRelease"
name="identify" objtype="map" schedule="before">
<parameters>
<param name="status" value="Authoring:*"/>
</parameters>
</trigger>-->
<!--<trigger apply-to="Release" class="com.ixiasoft.cms.triggers.IdentifyElementsOnRelease"
name="identify" objtype="topic" schedule="before">
<parameters>
<param name="status" value="Authoring:*"/>
</parameters>
</trigger>-->
<!--<trigger apply-to="changeStatus" class="com.ixiasoft.cms.triggers.IdentifyElements"
name="identify" objtype="map" schedule="before">
<parameters>
<param name="initial-status" value="Authoring:work"/>
<param name="end-status" value="Authoring:*"/>
</parameters>
</trigger>-->
<!--<trigger apply-to="changeStatus" class="com.ixiasoft.cms.triggers.IdentifyElements"
name="identify" objtype="topic" schedule="before">
<parameters>
<param name="initial-status" value="Authoring:*"/>
<param name="end-status" value="Authoring:*"/>
</parameters>
</trigger>-->
The first two triggers add @ixia_locid when you release a
topic or map.
The third and fourth triggers add @ixia_locid when you move
an object from one Authoring status to another.
These triggers are disabled by default.
-
To enable the triggers, remove the comment tags (
<!-- and
-->) that surround each trigger.
Note: After enabling the triggers, the CCMS adds @ixia_locid only to
objects that are released or moved to another status from that point
forward. It does not retroactively add @ixia_locid.
Likewise, if the trigger was previously active but is disabled at some
point, any existing @ixia_locid attributes are not
removed.
-
Save, close, and check in the file.
-
Inform users of the changes.
The changes are automatically applied
once users close and then reopen their CCMS Desktop.
Users can also apply the changes without restarting their CCMS Desktop by clicking . Additionally, refresh IXIA CCMS Web so that
users see the change reflected there.