Skip to main content
Version: v13.x - Umbraco 13

TranslationJob

A Translation Job, encapsulates all the content that has been requested for translation.

It contains the source and target languages, and a collection of TranslationNodes that require translation.

public class TranslationJob
{
public int Id { get; set; }
public Guid Key { get; set; }

public Guid SetKey { get; set; }

public string Name { get; set; }

public CultureInfoView SourceCulture { get; set; }
public CultureInfoView TargetCulture { get; set; }

public int NodeCount { get; set; }

// list of nodes in this job
public List<TranslationNode> Nodes { get; set; }

// dates , so we can track things as they go throught.
public DateTime Created { get; set; }
public DateTime Submitted { get; set; }
public DateTime Received { get; set; }

public bool StatusIsDirty { get; };

// job status (created, submitted, reviced, reviewed, acepted)
public JobStatus Status {get;set}

// translation provider being used for this job
public Guid ProviderKey { get; set; }
public string ProviderName { get; set; }
public string ProviderProperties { get; set; }

public string StatusLocalName { get; set; }
}