Skip to content

Entity: create translation

Available since: 3.1.0

Creates a translation of a content entity, replicating the behavior of the core translation UI.

Fields

Source language

The language to copy field values from. Typically the site default language.
When using the "Defined by token" option, make sure there is a token with this name: eca_create_entity_translation_source_langcode

Target language

The language of the new translation to create.
When using the "Defined by token" option, make sure there is a token with this name: eca_create_entity_translation_target_langcode

Entity

Provide the token name of the entity that this action should operate with. Please provide the token name only, without brackets.