Actions
Bug #84907
closedTranslation of parameters
Start date:
2018-05-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Dear Core-Team,
I use the following yaml configuration for my form:
...
finishers:
-
options:
subject: 'Anmeldung: {title}'
recipientAddress: test@test.de
recipientName: Test
...
The parameter {title} should be filled with the given field value. Under these circumstances everything works fine - the email subject is for example "Anmeldung: test".
As next I need to translate the word "Anmeldung" in the email subject. Therefore I register a xml-file in the CustomSetup.yaml:
Form:
renderingOptions:
translation:
translationFile:
10: 'EXT:My_custom_extension/Resources/Private/Language/Registration.xml'
within the xml file I use this translation:
<T3locallang>
<data type="array">
<languageKey index="default" type="array">
<label index="registration.finisher.EmailToReceiver.subject">Registration: {title}</label>
Unfortunately it's not possible to retrieve the field value for the parameter {title} anymore. The subject of the sent email is now "Registration: {title}".
Actions