This section defines the DOS-based syntax and flags that are available in XMsgTool for the following tasks:
You should be familiar with the basic steps in the following sections before using the DOS-specific syntaxes:
The basic syntax for creating an XLIFF file using XMsgTool follows:
XMsgTool -i -s<source file> [-s<source file>] -o<XLIFF file> -p<program name> -v<program version> [-tv<trans version>] -st<MsgLib|CString> -ff<NLM|CWSysMsg|DOSSys> [flag options]
For example, a typical implementation of your create XLIFF syntax might be the following:
XMsgTool -i -smyprog.c -omyprog.xlf -pMYPROG -v1.0 -stCString -ffNLM -w
For a list of the available flag options, see Common Flags and DOS Create/Update XLIFF Flags.
The basic syntax for updating an XLIFF file using XMsgTool follows:
XMsgTool <-u|-ul|-uol> -s<source file> [-s<source file>] -o<XLIFF file> [-p<program name> -v<program version> [-tv<trans version> -lg<target langID>] -st<MsgLib|CString> -ff<NLM|CWSysMsg|DOSSys>] [flag options]
For example, a typical implementation of your update XLIFF syntax might be the following:
XMsgTool -ul -smyprog.c -omyprog.xlf -pMYPROG -v1.1 -tv1.0 -lg6 -stCString -ffNLM -w
For a list of the available flag options, see Common Flags and DOS Create/Update XLIFF Flags.
The basic syntax for creating an MSG file using XMsgTool follows:
XMsgTool -em -s<XLIFF filename> -o<Msg filename> [flag options]
For example, a typical implementation of your create MSG syntax might be the following:
XMsgTool -em -smyprog.xlf -omyprog.msg
For a list of the available flag options, see DOS Create/Update XLIFF Flags and DOS Create MSG Flags.