Bug #96455
Selected options in e.g. dropdown fields aren't translated in the mail finisher
100%
Description
Currently we have the situation, that translated fields with options are not translated in the mail finisher.
Given a typical salutation dropdown field with Mrs, Mr and Mx and a German translation Frau, Herr and divers.
In the English mail IS (correctly) written:
Salutation: Mx
In the German mail IS incorrectly written:
Anrede: Mx
In the German mail SHOULD be written:
Anrede: divers
This regression was introduced in TYPO3 11.3 with Change-Id: I7546fedf79656561369008765b303cfb9af246d0 during a phpstan run.
https://github.com/TYPO3-CMS/form/commit/259385250920f0ff9d1f33125f45f2b50e9a893b
It's clear, that the part ```$properties['options'] =``` is a leftover from this patch an needs to be adjusted too.
Related issues