Use the following parameters to generate XLIFF files for a project from the command
line:
| -generateXLIFF |
JSON file |
Full path to a JSON file containing the
data required for generating XLIFF files. |
Yes |
| -verbose |
|
Selects whether progress information is logged or not in stdout. |
No |
Example:
fluenta_cli.cmd -generateXLIFF genXLIFF.json -verbose
Where the content of genXLIFF.json should be like:
{
"id": 12345678,
"xliffFolder": "C:\\sample data\\XLIFF",
"tgtLang": [
"es",
"fr"
],
"ditaval": "C:\\sample data\\filter.ditaval",
"useICE": true,
"modifiedFilesOnly": true,
"useTM": true,
"generateCount": false,
"version": "2.0",
"paragraph": false,
"ignoreTrackedChanges": false,
"ignoreSVG": true,
"embedSkeleton": false,
"maxThreads": 4
}
JSON Value Pairs
| id |
Number |
Project identifier |
Yes |
| xliffFolder |
String |
Path to the folder where XLIFF files and optional word counts should be stored |
Yes |
| tgtLang |
String Array |
An array containing the target languages for the XLIFF files |
Yes |
| ditaval |
String |
Path to a .ditaval file for filtering the content to be extracted |
No |
| useICE |
Boolean |
Selects whether existing ICE matches should be reused. Default
false |
No |
| modifiedFilesOnly |
Boolean |
Selects whether topics that have not changed since the last translation cycle should
be included in the generated XLIFF files. Default value: false |
No |
| useTM |
Boolean |
Selects whether translation memories should be used. Default value:
false |
No |
| generateCount |
Boolean |
Selects whether word counts should be generated. Default value:
false |
No |
| version |
String |
Selects the version of XLIFF to generate. Values: 1.2,
2.0, 2.1 or 2.2. Default value:
2.1 |
No |
| paragraph |
Boolean |
Selects whether paragraph segmentation should be used instead of sentence
segmentation. Default value: false |
No |
| ignoreTrackedChanges |
Boolean |
Selects whether tracked changes from Oxygen XML Editor should be ignored. Default
value: false |
No |
| ignoreSVG |
Boolean |
Selects whether translatable SVG files should be ignored when generating XLIFF.
Default value: false |
No |
| embedSkeleton |
Boolean |
Selects whether skeletons should be embedded in the generated XLIFF files, allowing
conversion back to DITA in any computer using OpenXLIFF Filters or XLIFF Manager. Default value: false |
No |
| maxThreads |
Number |
Indicates the maximum number of threads to use when generating XLIFF and applying
translation memory. Default value: the number of processors available in the
computer. |
No |