Class AutomaticTaskTemplateIds
This class defines a set of well-known automatic task template IDs, which can be used to pass to RunAutomaticTask(Guid[], String) for running automatic tasks.
Inheritance
Inherited Members
Namespace: Sdl.ProjectAutomation.Core
Assembly: Sdl.ProjectAutomation.Core.dll
Syntax
public static class AutomaticTaskTemplateIds
Fields
AnalyzeFiles
Performs an analysis of bilingual target-language files against the translation providers (TranslationProviderConfiguration). This task populates the analysis statistics of the input files (AnalysisStatistics) and creates an analysis report per target language, which can be accessed via Reports.
Declaration
public const string AnalyzeFiles = "Sdl.ProjectApi.AutomaticTasks.Analysis"
Field Value
Type | Description |
---|---|
System.String |
Remarks
The settings for this task can be customized via the TranslationMemorySettings and AnalysisTaskSettings settings groups for the entire project, or for a specific language direction.
This is a so-called content processing task, which means it operates on an SDLXLIFF file in a streaming manner and can be executed in parallel with other content-processing tasks. Running these together is more efficient, since they can share information like translation memory lookup results, so instead of having to perform a translation memory lookup for each task, only one lookup is required and those results are shared with all the tasks being executed in parallel.
Reference (Reference) and localizable (Localizable) files are ignored.
See Also
ConvertToTranslatableFormat
Converts native source language files (e.g. *.doc) to bilingual source language SDLXLIFF files (e.g. *.doc.sdlxliff). This task can be run on native or bilingual source language files. Reference (Reference) and localizable (Localizable) files are ignored. This task does not generate a report.
Declaration
public const string ConvertToTranslatableFormat = "Sdl.ProjectApi.AutomaticTasks.Conversion"
Field Value
Type | Description |
---|---|
System.String |
Remarks
This task has no customizable settings.
CopyToTargetLanguages
Creates target language versions of the input source files. The output files of this task are the newly created target language files. This task can only be run on source language files, including localizable (Localizable) and reference files (Reference). This task does not generate a report.
Declaration
public const string CopyToTargetLanguages = "Sdl.ProjectApi.AutomaticTasks.Split"
Field Value
Type | Description |
---|---|
System.String |
Remarks
This task has no customizable settings.
ExportFiles
Exports specific versions of the input files to a given directory. If you want to generate the native target language versions for finalizing the project, use the GenerateTargetTranslations task instead.
Declaration
public const string ExportFiles = "Sdl.ProjectApi.AutomaticTasks.GenerateTargetTranslation.ExportFiles"
Field Value
Type | Description |
---|---|
System.String |
Remarks
The settings for this task can be customized via the ExportFilesSettings settings group for the entire project only. Target language specific settings are ignored.
This task supports any kind of input file, including localizable and reference files.
ExportForBilingualReview
Export the translation to a bilingual file for review
Declaration
public const string ExportForBilingualReview = "Sdl.ProjectApi.AutomaticTasks.ExportForReview"
Field Value
Type | Description |
---|---|
System.String |
GenerateTargetTranslations
Generates the native target language versions of bilingual target language input files. The output files of this task are the native target language versions of the input files. If you just want to generate target language versions, but still want to continue working with the bilingual target language versions after that, use the ExportFiles task instead.
Declaration
public const string GenerateTargetTranslations = "Sdl.ProjectApi.AutomaticTasks.GenerateTargetTranslation"
Field Value
Type | Description |
---|---|
System.String |
Remarks
Reference (Reference) and localizable (Localizable) files are ignored.
This task does not generate a report.
This task has no customizable settings.
PerfectMatch
Applys perfect matches translation of bilingual target files, based on the settings: PseudoTranslateSettings.
Declaration
public const string PerfectMatch = "Sdl.ProjectApi.AutomaticTasks.PerfectMatch"
Field Value
Type | Description |
---|---|
System.String |
PopulateProjectTranslationMemories
This task creates or updates project translation memories with the relevant content of the main translation memories (TranslationProviderConfiguration) for the bilingual target language input files of the task. The project TM location can be accessed via the ProjectTranslationMemories property of an entry in the TranslationProviderConfiguration.
Declaration
public const string PopulateProjectTranslationMemories = "Sdl.ProjectApi.AutomaticTasks.ProjectTm"
Field Value
Type | Description |
---|---|
System.String |
Remarks
This is a so-called content processing task, which means it operates on an SDLXLIFF file in a streaming manner and can be executed in parallel with other content-processing tasks. Running these together is more efficient, since they can share information like translation memory lookup results, so instead of having to perform a translation memory lookup for each task, only one lookup is required and those results are shared with all the tasks being executed in parallel.
The settings for this task can be customized via the ProjectTranslationMemoryTaskSettings settings group for the entire project, or for a specific target language.
Reference (Reference) and localizable (Localizable) files are ignored.
This task does not generate a report.
PreTranslateFiles
Performs an automatic translation of bilingual target-language files using the configured translation providers (TranslationProviderConfiguration). This task updates the confirmation statistics of the files (ConfirmationStatistics) and generates a report per target language, which can be accessed via Reports.
Declaration
public const string PreTranslateFiles = "Sdl.ProjectApi.AutomaticTasks.Translate"
Field Value
Type | Description |
---|---|
System.String |
Remarks
This is a so-called content processing task, which means it operates on an SDLXLIFF file in a streaming manner and can be executed in parallel with other content-processing tasks. Running these together is more efficient, since they can share information like translation memory lookup results, so instead of having to perform a translation memory lookup for each task, only one lookup is required and those results are shared with all the tasks being executed in parallel.
The settings for this task can be customized via the TranslationMemorySettings and TranslateTaskSettings settings groups for the entire project, or for a specific language direction.
Reference (Reference) and localizable (Localizable) files are ignored.
See Also
PseudoTranslateFiles
Simulates translation of bilingual target files, based on the settings: PseudoTranslateSettings.
Declaration
public const string PseudoTranslateFiles = "Sdl.ProjectApi.AutomaticTasks.PseudoTranslate"
Field Value
Type | Description |
---|---|
System.String |
Remarks
This is often used as part of a pseudo-translate round trip task sequence. One use of this sequence is so that engineers preparing a project can perform a dry run round trip to identify issues, for example with character encodings of the project target languages. See Sdl.ProjectAutomation.FileBased.TaskSequences.PseudoTranslateRoundTrip
Scan
Scans files and set their file role (Role) and file type (FileTypeId). You should run this task on newly added files in the project, before running any other tasks. This task can only be run on source language files. This task does not generate a report.
Declaration
public const string Scan = "Sdl.ProjectApi.AutomaticTasks.Scan"
Field Value
Type | Description |
---|---|
System.String |
Remarks
This task has no customizable settings.
TranslationCount
Updates the confirmation level statistics of bilingual target language files. (ConfirmationStatistics). This task generates a translation count report which can be accessed via Reports.
Declaration
public const string TranslationCount = "Sdl.ProjectApi.AutomaticTasks.TranslationCount"
Field Value
Type | Description |
---|---|
System.String |
Remarks
The settings for this task can be customized via the TranslationCountSettings settings group for the entire project, or for a specific target language.
Reference (Reference) and localizable (Localizable) files are ignored.
See Also
UpdateFromExternalReview
Import the changes from the external review file
Declaration
public const string UpdateFromExternalReview = "Sdl.ProjectApi.AutomaticTasks.ImportFromReview"
Field Value
Type | Description |
---|---|
System.String |
UpdateMainTranslationMemories
This task updates the relevant main translation providers with content from the bilingual target language input files. This task generates a main translation provider update report, which can be accessed via Reports.
Declaration
public const string UpdateMainTranslationMemories = "Sdl.ProjectApi.AutomaticTasks.UpdateMasterTm"
Field Value
Type | Description |
---|---|
System.String |
Remarks
The settings for this task can be customized via the TranslationMemoryUpdateTaskSettings settings group for the entire project, or for a specific target language.
Reference (Reference) and localizable (Localizable) files are ignored.
See Also
UpdateProjectTranslationMemories
This task updates the relevant project translation memories with content from the bilingual target language input files. This task can be used for instance when the translation has been done offline and the project translation memories have not been updated interactively by the translators. This task generates a project translation memory update report, which can be accessed via Reports.
Declaration
public const string UpdateProjectTranslationMemories = "Sdl.ProjectApi.AutomaticTasks.UpdateProjectTm"
Field Value
Type | Description |
---|---|
System.String |
Remarks
The settings for this task can be customized via the TranslationMemoryUpdateTaskSettings settings group for the entire project, or for a specific target language.
Reference (Reference) and localizable (Localizable) files are ignored.
See Also
VerifyFiles
Verifies the content of the bilingual target language files using all the configured verifiers. The messages generated by the verifiers are accessible through the Messages property. This task will fail if any of the verifiers generates an error message, but succeeds if only warning and information messages are reported. This task generates a verification report which can be accessed via Reports.
Declaration
public const string VerifyFiles = "Sdl.ProjectApi.AutomaticTasks.Verification"
Field Value
Type | Description |
---|---|
System.String |
Remarks
Reference (Reference) and localizable (Localizable) files are ignored.
WordCount
Performs a word count on bilingual source or target language files. This task updates the word count statistics (AnalysisStatistics) part of the analysis statistics and does not perform lookups against translation providers. If you want to do a full translation provider analysis, use the AnalyzeFiles task instead. This task generates a word count report, which can be accessed via Reports.
Declaration
public const string WordCount = "Sdl.ProjectApi.AutomaticTasks.WordCount"
Field Value
Type | Description |
---|---|
System.String |
Remarks
The settings for this task can be customized via the WordCountSettings settings group for the entire project, or for a specific target language.
Reference (Reference) and localizable (Localizable) files are ignored.