Skip to content

Kirby 3.5.7.1

Translating blueprints

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

Note that the language version shown to the user is based on the user language, not on the selected content language. Blueprint translations also only affect the Panel. For translating your site, see Languages.

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