2.5.8 XML Tasks Localization

Some of the fields in the task XML definition MAY be localized. To treat a field as localizable, the application specifies the field in the following form:

$(@dllname.dll, -resId), where dllname.dll is the name of a library containing the localized string and resId are the resource ID in the library containing the string.

Example:

 <Description>$(@%SystemRoot%\system32\MyRes.dll,-101)</Description>

The following fields MAY be localized:

  • RegistrationInfo elements (see section 2.5.1):

           <xs:element name="Source" type="xs:string" minOccurs="0"/>
           <xs:element name="Author" type="xs:string" minOccurs="0"/>
           <xs:element name="Description" type="xs:string" minOccurs="0"/>
           <xs:element name="Documentation" type="xs:string" minOccurs="0"/>
    
  • Principal element (see section 2.5.6):

           <xs:element name="DisplayName" type="xs:string" minOccurs="0"/>
    
  • Email action elements (see section 2.5.7.3):

     <xs:element name="Subject" type="xs:string" minOccurs="0"/>
           <xs:element name="Body" type="xs:string" minOccurs="0"/>
    
  • ShowMessage action elements (see section 2.5.7.4):

           <xs:element name="Title" type="nonEmptyString"/>
           <xs:element name="Body" type="nonEmptyString"/>