tridion-sites-extensions-api-docs

Home > @tridion-sites/models > TargetLanguage

TargetLanguage class

Signature:

export declare class TargetLanguage

Constructors

Constructor Modifiers Description
(constructor)({ backendModel, availableWorkflows, selectedWorkflow, targetPublications, })   Constructs a new instance of the TargetLanguage class

Properties

Property Modifiers Type Description
_backendModel   BackendTargetLanguage  
availableWorkflows   ReadonlyArray<TmsWorkflow> | undefined  
friendlyName   string | undefined  
getInternalModel   () => BackendTargetLanguage  
id   string | undefined The identifier of the language (LCID).
isReadOnly   boolean | undefined Indicates whether the current user can modify the TargetLanguage.
selectedWorkflow   TmsWorkflow | undefined Currently selected TmsWorkflow. Setting the workflow will select the workflow in AvailableWorkflows with a matching identifier. If unable to find a workflow with the matching identifier the SelectedWorkflow will be set to the first workflow in AvailableWorkflows.
selectedWorkflowId   string | undefined Selected identifier of the SelectedWorkflow. If setting an identifier not present in AvailableWorkflowIds the SelectedWorkflowId will be set to the first entry in AvailableWorkflowIds.
targetPublications   ReadonlyArray<TranslationTargetPublication> | undefined List of the TargetPublications configured in Tridion for this TargetLanguage.