Hi,
I’m just building a multilanguage seite with a small Contact Form on every page. I’m just wondering how to translate the labels and placeholders for the form-configuration in the page header. Is it possible to use the themes language.yml here, or do I need to create a form for each language with static labels?
Add your strings into the user/languages
folder, like explained in https://learn.getgrav.org/content/multi-language#translation-overrides and use those strings into your form definition. For example
user/languages/en.yaml
MY_FORM:
LABEL1: "Something"
form definition:
....
label: MY_FORM.LABEL1
...