Skip to content

Translation ​

What it does ​

A page in Frame is translated with Drupal's content translation. How its layout is translated is set per content type, next to the checkbox that enables the editor:

  • Synced: one structure for all languages. A translation changes only text and links; everything else follows the original.
  • Independent: a translation starts as a copy of the original, made when it is created, and is then changed freely.

The editor says which applies in its title bar. In the video: a Spanish translation of a page that shares its structure; the texts are translated in place, and both pages are shown after Publish.

Limitations ​

  • In the synced mode a translation cannot add, remove or move components, and cannot paste: do that on the original. Components can still be selected.
  • In the synced mode only text, rich text, long text and link props are translated. A prop opts out with x-builder-translatable: false. A list with text or links in it is translated as a whole: its values are edited in place, but added, removed and moved on the original.
  • In the independent mode a change of the original after the translation was made does not reach it.
  • Saved blocks and presets are not translated: a linked block shows the same text in every language (tokens and Field blocks follow the page). Where text must differ, use a copy.
  • The settings of Drupal blocks are not translated, only their title.
  • Saved versions in the History are those of the language edited.

Good to know ​

  • Links picked from the site's content point to the translation of the page's language without translating.
  • Tokens are replaced in the language of the page.
  • With the AI assistant, a translation can be translated by asking for it.
  • An export has every translation of the page.
  • What is stored for each mode: Architecture: translations. Strings of interactive components: Translations.