Use the following parameters to import a translated XLIFF file into a project from
the
command line:
| -importXLIFF |
JSON file |
Full path to a JSON file containing
the data required for importing the XLIFF file |
Yes |
| -verbose |
|
Selects whether progress information is logged or not in stdout. |
No |
Example:
fluenta_cli.cmd -importXLIFF impXLIFF.json -verbose
Where the content of impXLIFF.json should be like:
{
"id": 12345678,
"xliffFile": "C:\\sample data\\XLIFF\\spanish.xlf",
"outputFolder": "C:\\sample data\\es\\",
"updateTM": true,
"acceptUnapproved": true,
"ignoreTagErrors": false,
"maxThreads": 4
}
JSON Value Pairs
| id |
Number |
Project identifier |
Yes |
| xliffFile |
String |
Path to the XLIFF file to be imported |
Yes |
| outputFolder |
Boolean |
Path to the folder where the translated DITA files should be stored |
Yes |
| updateTM |
Boolean |
Selects whether the memory associated with the project should be updated with
the translations in the XLIFF file |
Yes |
| acceptUnapproved |
Boolean |
Selects whether segments that are translated but not approved should be treated
as approved. Default value: false |
No |
| ignoreTagErrors |
Boolean |
Selects whether inline tag errors should be ignored. If set to
false and errors are found, a detailed report in HTML format is
generated and stored in the folder that contains the XLIFF file. Default value:
false |
No |
| maxThreads |
Number |
Indicates the maximum number of threads to use when importing theXLIFF file.
Default value: the number of processors available in the computer. |
No |