Multilanguage default values for blueprint field

Hello, a question about the default field property for Text, Kirby Reference

Can that property have values for different languages? The following does not seem to work, unfortunately:

headline:
  type: text
  default:
    de: 'Betriebliche Vorsorge'
    en: 'Company provision'
    fr: 'Mise à disposition de la société'
    nl: 'Bedrijfsvoorziening'

It just ends up having the field in the panel with all texts next to each other.

Am I doing something wrong?

Even if it worked, it wouldn’t make sense, because the language keys in the blueprint refer to the selected user language, not the translation language.

Query language currently doesn’t work for defaults either.

So what you could do is use a hook or overwrite the writeContent() method in a page model.

1 Like

Alright, I see. Thanks for the heads up :slightly_smiling_face: