Okapi ComponentsXLIFF Concatenation Utility |
|
- The utility set identifier for this utility is: oku_set04
- The utility identifier is: xliffconcatenation
The XLIFF Concatenation utility allows you to regroup several XLIFF documents into a one.
To split a single XLIFF document into several files, use the XLIFF Splitting utility.
The common parameters are the options specified from the application calling the utility rather than in the options dialog box of the utility itself. For this utility the common parameters you need to specify are the following:
Files of the first input list | - Needed (the XLIFF files to concatenate) |
Root for the first input list | - Not Needed |
Files of the second input list | - Not Needed |
Root for the second input list | - Not Needed |
Files of the third input list | - Not Needed |
Root for the third input list | - Not Needed |
Input language | - Not Needed |
Output language | - Not Needed |
Input default encoding | - Not Needed |
Output default encoding | - Not Needed |
Location and names for output files | - Not Needed |
Create a single output for all input files -- Select this option to generate one single output XLIFF document from all the input files. the name of the output file is the one you specify. If a file with the same path already exists, it will be overridden without warning.
When this option is set, all files are grouped into a single output, regardless of the pattern or order of the input files.
Create multiple outputs (one output document per set of similar input files) -- Select this option to generate one or more output XLIFF documents depending on the input filenames pattern.
When this option is set, an new output file is created each time the pattern of the input files changes. Files belonging to the same set must be ordered together. Files without the Input file marker text will be skipped over. The output file paths will be generated from the input file paths: The Input file marker text and any text after will be replaced by the Output file marker text. Two input files belong to the same set when their output filenames are the same. Output files that already exist will be overridden without warning.
Input file marker -- Enter the marker text that is to be used to find filenames with a similar pattern.
Output file marker -- Enter the marker text that is to generate the filename of the output files. If files with the same names already exist, they will be overridden without warning.
For example, with the following input parameters:
Create multiple outputs is set Input file marker: _PART Output file marker: _CONCAT Input file list: C:\Project\FolderABC\File1_PART001.xlf C:\Project\FolderABC\File1_PART002.xlf C:\Project\FolderABC\File2_PART001.xlf C:\Project\FolderABC\File2_PART002.xlf C:\Project\FolderABC\SubFolderXYZ\File1_PART001.xlf C:\Project\FolderABC\File3.xlf
You will get the following output:
C:\Project\FolderABC\File1_PART001.xlf The output C:\Project\FolderABC\File1_CONCAT.xlf is created C:\Project\FolderABC\File1_PART002.xlf This file's content is added to the previous output file C:\Project\FolderABC\File2_PART001.xlf The output file C:\Project\FolderABC\File2_CONCAT.xlf is create C:\Project\FolderABC\File2_PART002.xlf This file's content is added to the previous output C:\Project\FolderABC\SubFolderXYZ\File1_PART001.xlf The output C:\Project\FolderABC\SubFolderXYZ\File1_CONCAT.xlf is created C:\Project\FolderABC\File3.xlf This file is skipped because its filename has not the expected marker "_PART".