TranslationServiceHelper CreateTargetCultureNode Method Kentico 8.0 API Reference
Returns document of target culture from specified node or creates new culture version as a copy of the original.

Namespace: CMS.TranslationServices
Assembly: CMS.TranslationServices (in CMS.TranslationServices.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

originalNode
Type: CMS.DocumentEngine TreeNode
Source culture document
targetLang
Type: OnlineSystem String
Target language
setWaitingForTranslation
Type: OnlineSystem Boolean
If true, WaitingForTranslation flag of the target node is set to true
copyOriginalNodeData
Type: OnlineSystem 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: OnlineSystem Boolean
Indicates if attachments from source node should be copied to target node

Return Value

Type: TreeNode
See Also