Leverages translations from various file formats into an existing TTK. The Configuration Options for each Leverage operation are taken from the user registry which can be configured using User Profiles.

Syntax

Catalyst /L UserName [/D] [/Extract] OldVersion [TransOldVersion] NewVersion [TmxSrcLang:TmxSrcLang] [TmxTrgLang:TmxTrgLang][Rule:ezParse Rulename] [/TMHitsFile:TMHitsFile] [Penalty:num] [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /L UserName [/D] [/Extract] TMListFile:tmlistfilename NewVersion [TmxSrcLang:TmxSrcLang] [TmxTrgLang:TmxTrgLang] [Rule:ezParse Rulename] [/TMHitsFile:TMHitsFile] [Penalty:num] [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /L UserName TMListFile:tmlistfilename FileListFile:Filename [/S] [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /L UserName TMListFile:tmlistfilename FromFolder:FolderName [/S] [ezLogFile:ezLogFile] [/write] [/open]

 

Parameters

/L

Leverage a TTK using a Translation Memory

UserName

The name that will appear in the history list in the TTK.

/D

Parameter used to select default settings when running a leverage. If this parameter is not present the options currently in the registry will be used.

/Extract

Extract all files after a leverage operation has completed. The files will be stored in the current working directory.

Rule:ezParse Rulename

Specify an ezParse rule name to use when processing files during a leverage.

OldVersion [TransOldVersion]

The path and filename of the file to leverage from. This file can be a TTK, Application file, Glossary file, or TMX file.

If in the case of an application file, then a folder where the newly leveraged file is to be stored must be specified. In this situation, ezScript will create a temporary TTK, leverage the translation on top of this filename and then store the partially translated file in the specified folder.

TMListFile:tmlistfilename

Tag used to specify the path of a file that contains a list of Translation Memory filenames to leverage from.

TM files contained in tmlistfilename must use an absolute path.

The tmlistfilename can contain .ttk, .tm, .tmx, .txt, .txml, .txlf or .tmw formats.

NewVersion

The path and filename of the file to be leveraged into. This file can be a TTK or Application file.

FileListFile:Filename

The file or a list of files to perform the leverage on.

FromFolder:FolderName

Tag used to specify the path to a folder from which all files are to leveraged.

/S

Recurse all sub-folders.

TmxSrcLang:Language

Tag used to specify the source language to use when leveraging from a TMX file. See section on Language Codes.

TmxTrgLang:Language

Tag used to specify the target language to use when leveraging from a TMX file. See section on Language Codes.

TMHitsFile:TMHitsFile

Used in conjunction with Fuzzy Match, this option specifies the name of the TM Hits File which is generated with all Fuzzy Matched translations after the command is complete.

Penalty:num

The value of num is a penalty value which can be applied to a TM during a leverage. This penalty needs to be greater than 0 and less than 100.

When a single TM is specified in the command, you can add this value to the command itself. When using the filelist syntax to specify TMs, add the required value into the FileListFile at the end of the TM line as shown in the example below. There should be a space between the TM name and the penalty value.

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.

 

ezScript will always ignore the View report immediately and Interactive: display strings when a fuzzy match is found options from the User Profile when executing this command.

If the /D parameter is used, the default settings user are:

Default Parameter

Value

Generate Report

FALSE

All Object Types are leveraged

TRUE

Leverage Same Type Only

FALSE

Leverage Text Only

FALSE

Leverage Private Data Only

FALSE

Leverage Old Locking info

TRUE

Add Missing Ampersands

TRUE

Expand Co-ordinates if dialog match not found

FALSE

Only change status if text changes

FALSE

Fuzzy Matching

FALSE

 

Looking for GlobalLink TM Server Leverage syntax?

Sample content of a TMlistfilename file

This is a sample of the contents which may appear in the file "TM_list.txt" as in the fourth example below.

"C:\Samples\Project1.ttk"

"C:\Samples\Project2.ttk"

"C:\Samples\Multi-transmem.tm" Penalty:4

 

Examples

Catalyst /L John /D C:\Version1\English\File.exe C:\Version1\German\File.exe C:\Version2\English\File.exe C:\Version2\German\

Catalyst /L John C:\Version1\TTKFiles\File.ttk C:\Version2\TTKFiles\File.ttk

Catalyst /C "C:\ezScript\Leverage85.ini" /load

Catalyst /L "John Brown" "C:\ezScript\TmxFiles\German.tmx" "C:\ezScript\Leveraged\German012.ttk" TmxSrcLang:"English (Ireland)" TmxTrgLang:"German (Germany)" TMHitsFile:"C:\ezScript\Leveraged\TMHits_en-IE_de-DE.tmx"

Catalyst /L MalcomB TMListFile:"C:\TMemories\TM_list.txt" "C:\Leveraged\MyProject.ttk" /open

Catalyst /L "%USERNAME%" "GenericMT:Google Paid MT Service://;;False;AIaaBbCDeFghijkLmnopqrsT5VXXYZbH25eWH7v" "C:\Leveraged\MyProject.ttk"