Skip to content

Language: set code

Plugin ID: eca_set_current_langcode

Available since: 2.0.0

Set the currently used or negotiated language code.

Fields

Language — config key: langcode

The language code to be set.
When using the "Defined by token" option, make sure there is a token with this name: eca_set_current_langcode_langcode

Type: select · Required: no · Default: empty string

Allowed values depend on the configuration of the target site.

Value format: A language code enabled on the target site, for example en. The special value _interface means the current interface language.