Skip to content

Translating blueprints

If you have editors from various language backgrounds, you can translate titles, form fields, section headlines and more.

Blueprint titles

The title can be translated by passing an array of translations with the matching language code as key:

title:
    en: Example Page
    de: Beispiel Seite

Section headlines

The same applies to headlines...

sections:
  subpages:
    type: pages
    headline:
      en: Articles
      de: Artikel

Labels, placeholders and help text

...and to everything else:

fields:
  street:
    label:
      de: Straße
      en: Street
    type: text
    placeholder:
      de: Bitte geben Sie einen Straßennamen ein…
      en: Please enter a street name…
    help:
      de: Der Name der Straße
      en: The name of the street

Options

fields:
  category:
      label:
        en: Category
        de: Kategorie
      type: select
      options:
        architecture:
          en: Architecture
          de: Architektur
        photography:
          en: Photography
          de: Fotografie

Text of headline, info or help text

fields:
  headline:
    label: headline
    text:
      de: Optionen
      en: Options