translate key

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

translate key v10.4.28

Translates a given key.

In pins 1
  • language
    value
Out pins 1
  • translation
    value

Translates the STATIC key configured on the block (not a pin), trimmed and lowercased. Language priority: language pin, then the request's language, then the entity default, with a retry in the entity's fallback language; an untranslated key outputs the key itself. {{bp-name}} placeholders inside the resolved translation are replaced with the matching template-name in-pin values; a missing pin renders as "".

translate key outputs the translation of the key set on the block, for the language on its pin. The translation feeds a custom text element inside a paragraph, which is how multilingual pages are built.

Studio canvas example for the translate key block: translated text on the page.

Commonly used with

In production blueprints, this block is most often wired together with:

  • custom text: this block feeds into it.
  • hyperlink: this block feeds into it. A anchor element, that can be used to create an link to an intern/extern page.
  • h3: this block feeds into it. A H3 element.
  • render: this block feeds into it. Sends the combined HTML to the frontend and renders the page into React components.
  • label: this block feeds into it. Represents a caption for an item in a user interface.
  • h1: this block feeds into it. A H1 element.

Version history

Introduced in v10.4.28.


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