tridion-sites-extensions-api-docs

Home > @tridion-sites/models > TranslationJobInfo

TranslationJobInfo class

Contains details on a specific translation to a target Item (see TranslationDetails).

Signature:

export declare class TranslationJobInfo

Constructors

Constructor Modifiers Description
(constructor)({ backendModel, retrievedFromTranslationDate, retrieveReason, sendForTranslationDate, sourceItemUri, sourcePublicationUri, sourceRevisionDate, targetItemUri, targetRevisionDate, })   Constructs a new instance of the TranslationJobInfo class

Properties

Property Modifiers Type Description
_backendModel   BackendTranslationJobInfo  
getInternalModel   () => BackendTranslationJobInfo  
isObsolete   boolean Indicates if an in-progress translation will be discarded due to a newer translation having been completed already.
newSourceVersionExists   boolean Indicates whether this translation was started based on the current version of the source Item.
newTargetVersionExists   boolean Indicates whether current version of target item contains this translation.
retrievedFromTranslationDate   Date | undefined The date and time the Item was retrieved from translation.
retrieveReason   RetrieveReason | undefined Indicates if the retrieval was done to allow review or if it completed the translation job.
sendForTranslationDate   Date | undefined The date and time the Item was send for translation.
sourceItemTitle   string | undefined The title of the source Item for this translation.
sourceItemUri   ItemUri | undefined The TCM URI of the source Item for this translation.
sourceLanguageId   string | undefined The language id of the source Item for this translation.
sourceLanguageName   string | undefined The language name of the source Item for this translation.
sourceLastModified   string | undefined The last modified date/time of the source item for this translation.
sourceLatestRevision   number | undefined The minor version of the latest version of the source Item; null if the source Item is not versioned.
sourceLatestVersion   number | undefined The major version of the latest version of the source Item; null if the source Item is not versioned.
sourcePublicationTitle   string | undefined The title of the Publication containing the source Item for this translation.
sourcePublicationUri   ItemUri | undefined The TCM URI of the Publication containing the source Item for this translation.
sourceRevision   number | undefined The minor version of the source Item for this translation; null if the source Item is not versioned or the source version has been lost due to it being promoted or demoted in the BluePrint.
sourceRevisionDate   Date | undefined The revision date of the source item for this translation.
sourceVersion   number | undefined The major version of the source Item for this translation; null if the source Item is not versioned or the source version has been lost due to it being promoted or demoted in the BluePrint.
targetItemUri   ItemUri | undefined Gets last modified date of the current version of the target Item.
targetLanguageId   string | undefined The target language id of the Item for this translation.
targetLanguageName   string | undefined The target language name of the Item for this translation.
targetRevision   number | undefined The minor version of the target Item the translations where retrieved into.
targetRevisionDate   Date | undefined The revision date/time of the target item of this translation.
targetVersion   number | undefined The major version of the target Item the translations where retrieved into.
translationJobId   number | undefined The id of the TranslationJob the translation is part of.
translationJobTitle   string | undefined Title of the TranslationJob the translation is part of.