2.4 Editing an XLIFF File

The following types of XLIFF file (see An XLIFF File) edits are explained in the following sections:

2.4.1 Using XMsgEdit

You can use XMsgEdit or any commercial text editor to edit and annotate your XLIFF file. However, XMsgEdit contains several features that might not be available in other text editors, such as the following:

  • Viewing a list by Message ID or XLIFF ID
  • Searching according to set criteria
  • Selecting more than one message to change flag attributes
  • Selecting a single message to add or change all attributes (except the original text and translated text)

2.4.2 Annotating NLM Programs

You should provide several kinds of annotations in your XLIFF file. (If you have not yet created a XLIFF file, see Creating/Updating an XLIFF File.)

To make annotations, use the following steps:

  1. To annotate parameters in the message, add a value to the following attribute:

       <prop prop-type="Params notes">annotate here</prop>
       

2.4.3 Identifying Length Limits

The length limit of a message string is indicated by the maxbytes attribute of the trans-unit element. A value of zero indicates that there is no limit.

To set the length limit, replace the maxbytes value of zero:

   <trans-unit id="3" maxbytes="0" translate="yes">