Leverage TM

 

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 [FolderName] [TmxSrcLang:TmxSrcLang [Rule:ezParse Rulename] TmxTrgLang:TmxTrgLang] [/TMHitsFile:TMHitsFile] [/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. These configuration options be modified using User Profiles.

/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, TMX file or a TRADOS Workbench 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.

NewVersion [FolderName]

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

If in the case of an application file, then the translated version of this file must also be specified immediately after this parameter. In this case, ezScript will create a temporary Translation Memory by automatically aligning both files and then leverage this aligned file with the NewVersion file.

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.

/open

Launches MS Notepad and displays the content of CatalystBatchLog.txt when the ezScript command finishes.

TMHitsFile:TMHitsFile

Used in conjunction with Fuzzy Match, this options specifies the name of the TM Translation Memory Hits File that will contain all Fuzzy Matched translations.

 

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

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 /L "John Brown" C:\TmxFiles\German.tmx C:\Leveraged\German012.ttk TmxSrcLang:"English (Ireland)" TmxTrgLang:"German (Standard)"