tridion-sites-extensions-api-docs

Home > @tridion-sites/models > TranslationInfo

TranslationInfo class

Contains information about the translation state of the Item.

Signature:

export declare class TranslationInfo

Constructors

Constructor Modifiers Description
(constructor)({ backendModel, contextLanguage, translationFrom, translationTo })   Constructs a new instance of the TranslationInfo class

Properties

Property Modifiers Type Description
_backendModel   BackendTranslationInfo  
contextLanguage   TmsLanguage | undefined The TmsLanguage of the context Publication (containing the current item).
getInternalModel   () => BackendTranslationInfo  
translationFrom   TranslationDetails | undefined The TranslationDetails for this Item as the target Item.
translationTo   ReadonlyArray<TranslationDetails> | undefined The TranslationDetails for all Items that can be the target for a translation with this Item as the source Item.