Trados Translation Step

From Okapi Framework
Jump to: navigation, search

Overview

This step invokes the Trados pre-translation function in batch mode.

Takes: Raw document. Sends: Raw document

Note: This step is part of the Trados Utilities Plugin and is not included in the general distribution.
This step runs on Windows only and requires that Trados 7.x or Trados 2007 is already installed on your machine.

The step takes a list of input documents (in formats supported by Trados) and run the Trados translation function on them. It uses a specified TM or, if none is provided, it creates a temporary empty one. If a segment has a match above a given threshold it can be inserted into the result file. Segments with no match (or with match below the given threshold) can be left as-it, or pre-segmented with no translation.

For running an analysis using Trados, see the Trados Analysis Step.

For running a cleanup using Trados, see the Trados Cleanup Step.

Parameters

Use this existing TM — Set this option to run the analysis against an existing Trados TM. If this option is not set a temporary TM is created during the process and deleted afterward. If this option is set you must enter the full path of the Trados .tmw file to use. You can use the variables ${rootDir} and ${inputRootDir}, as well as any of the source or target locale variables (${srcLoc}, ${trgloc}, etc).

User ID — Enter the user ID to use with the TM.

TM password — If needed, enter the password associated with the user ID for the TM. Leave empty if no password is needed.

Full path of the log file — Enter the full path of the log file to generate. You can use the variables ${rootDir} and ${inputRootDir}, as well as any of the source or target locale variables (${srcLoc}, ${trgloc}, etc).

Append to the log file if one exists already — Set this option if the log file exists and you want to add the log of this process to it. If this option is not set and the log file exists it is overwritten automatically.

Open the log file after completion — Set this option to open automatically the log file once the process is done.

Match threshold — The minimum match value for segments to be translated

Segment unknown segments — Put Trados delimiting marks around segments for which there are no matches in translation memory. Useful for translating documents outside of Translator's Workbench.

Update changed translationsNo update - Do not update the TM with existing translations in the document , Update TM - Update the TM with the translations in the document, Update document - Revert the translations in the document to those in the TM.

NOTE: The Update changed translations option has a few requirements such as:

  1. Documents have already been partially or entirely translated with Trados Workbench.
  2. The TM used for the translation is the same as the one used for the previous translation.
  3. Changes were made to translation units in the document without using Translator's Workbench, and consequently are not reflected in the corresponding TM. For more info see the documentation provided by Trados.

Locale variables

The locale variables you can use in the paths are the following:

  • ${srcLang} = Source language code as defined in the source Language field. For example: en-US.
  • ${srcLangU} = Source language code in uppercase. For example: EN-US.
  • ${srcLangL} = Source language code in lowercase. For example: en-us.
  • ${srcLoc} = Source locale code (language in lowercase, region in uppercase, with a _ separator). For example: en_US.
  • ${srcLocLang} = The language part of the source locale (in lowercase). For example: en.
  • ${srcLocReg} = The region part of the source locale (in uppercase). For example: US. Or empty if no region is specified.
  • ${trgLang} = Target language code as defined in the target Language field. For example: fr-CA.
  • ${trgLangU} = Target language code in uppercase. For example: FR-CA.
  • ${trgLangL} = Target language code in lowercase. For example: fr-ca.
  • ${trgLoc} = Target locale code (language in lowercase, region in uppercase, with a _ separator). For example: fr_CA.
  • ${trgLocLang} = The language part of the target locale (in lowercase). For example: fr.
  • ${trgLocReg} = The region part of the target locale (in uppercase). For example: CA. Or empty if no region is specified.

The names of the variables are case-sensitive. However, for backward compatibility, the first letter can be in uppercase (e.g. ${SrcLang}).

Any locale-related variable (i.e. has "Loc" in the variable name), has no predictable behaviour if the corresponding language code declared in the Languages and Encodings tab is not compatible with a locale notation.

Limitations

  • None Known