Returns document of target culture from specified node or creates new culture version as a copy of the original.
Namespace: CMS.TranslationServicesAssembly: CMS.TranslationServices (in CMS.TranslationServices.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- originalNode
- Type: CMS.DocumentEngine TreeNode
Source culture document
- targetLang
- Type: System String
Target language
- setWaitingForTranslation
- Type: System Boolean
If true, WaitingForTranslation flag of the target node is set to true
- copyOriginalNodeData
- Type: System Boolean
If true, data from en existing originalNode (source culture) is copied to the target (this flag is taken into account only for existing target documents)
- copyAttachments (Optional)
- Type: System Boolean
Indicates if attachments from source node should be copied to target node
Return Value
Type: TreeNodeSee Also