create key

This block is part of the translations group and was last modified in core v10.4.28.

create key v10.4.28

creates or updates a translate key by provided key, value and language

In pins 3 + flow
  • flow
    flow
  • key
    value

    the key you want to use for translation

  • value
    value

    sets the translation value to the correct language

  • language
    value

    the language e.g (en, nl, en, de)

Out pins 2 + flow
  • flow
    flow
  • success
    condition
  • error
    value

Creates the translation in the language storage under the GUID "language:key" (both lowercased, the key URI-encoded), or updates the existing document's value when that GUID already exists : repeated calls never duplicate. A nil or unwired key, value, or language fails with EMPTY_KEY / EMPTY_VALUE / EMPTY_LANGUAGE; a missing language store fails with MISSING_LANGUAGE_STORE. Example: key="Hello World" language="EN" -> guid "en:Hello%20World".

A typical wiring for create key: a function trigger starts the flow; the flow out pin feeds debug.

Studio canvas example for the create key block: typical wiring for create key.

Version history

Introduced in v10.4.28.


Back to translations Return to the main group to view all sub-groups Back to translate Return to the group to view all blocks within this group