Exports Imports the content of a TTK file to an XLIFF file so that it may be translated externally in another third party tool and then merged back into the main TTK file.

Syntax

Catalyst /XLIFFEXPORT TTKName:TTKName XliffFileName XLIFFVERSION  [ezLogFile:ezLogFile] [/write] [/open]

Catalyst /XLIFFIMPORT TTKName:TTKName XliffFileName [ezLogFile:ezLogFile] [/write] [/open]

Parameters

/XLIFFEXPORT

Export the TTK content to an XLIFF File

/XLIFFIMPORT

Import the TTK content back from an XLIFF File into a TTK

TTKName:FName

Tag used to specify the name of the TTK to export from and import back into.

XliffFileName

The name given to the XLIFF file to export into or import from depending on the command being used.

XLIFFVERSION

Use this switch to export to version XLIFF 2.0 format.

It expects a number as an argument, like XLIFFVERSION:2 or XLIFFVERSION:"2.0". If the value is absent or less than 2, it will default to XLIFF 1.2

ezLogFile:ezLogFile

The user can optionally specify a log file to which results of each Catalyst ezScript command are output.

If the log file is not specified by the user or is invalid, the default log file (ezScriptBatchLog.txt in the Public location) is used.

/write

The command line which has been processed by Catalyst will be written into the ezScript batch log file.

This will help to debug your command if something is not behaving as expected.

/open

Launches MS Notepad and displays the content of ezScript batch log when the command finishes.

Examples

Catalyst /XLIFFEXPORT TTKName:"C:\XLIFFExport\FR_ACME_FC2.ttk" "C:\XLIFF\Out\FR_ACME_FC2.xlf"

Catalyst /XLIFFEXPORT TTKName:"C:\XLIFFExport\FR_ACME_FC2.ttk" "C:\XLIFF\Out\FR_ACME_FC2.xlf" XLIFFVERSION:"2.0"

 

 

Catalyst /XLIFFIMPORT TTKName:"C:\XLIFFImport\FR_ACME_FC2.ttk" "C:\XLIFF\In\FR_ACME_FC2_Translated.xlf"