Reputation: 1203
I work with TYPO3 V12.4.24 and in the backend a module allows me to construct a form. A second option is to script directly in the YAML file created.
The finisher Email to receiver (you)
has a select box Translation language
where I find only "EN" ... (this produces "default" in the yaml file, but I'm not sure this setting determines what I need)
I have been looking for a way to extend that select box, or to set the default in some way, but mainly how to produce an email in the "default" language ... I use Italian as default language which means that in V12 (since V9) i have as first language [0] italian.
In the frontend the behaviour is fine, all is translated correctly with the setup as the documentation describes, but the emails that are send trough the form remain in english.
Upvotes: 1
Views: 33
Reputation: 6144
You can extend the select box in the backend by extending form
with an own yaml file (Howto: https://docs.typo3.org/c/typo3/cms-form/main/en-us/I/FAQ/Index.html#faq-1)
To extend (e.g. adding "de") you need to add:
prototypes:
standard:
finishersDefinition:
EmailToReceiver:
FormEngine:
elements:
translation:
language:
config:
items:
20:
label: de
value: de
Upvotes: 0