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}".
Updated by Ralf Zimmermann over 6 years ago
- Related to Bug #82715: Form framework: Use runtime values in localized subject added
Updated by Ralf Zimmermann over 6 years ago
Should be fixed for TYPO3 v9 and 8.7.14
Updated by Björn Jacob over 6 years ago
- Status changed from New to Needs Feedback
- Assignee set to Anna-Lena Vahle
Updated by Anna-Lena Vahle over 6 years ago
- Assignee deleted (
Anna-Lena Vahle)
I tested it with TYPO3 8.7.15 and it works! Thank you :)
Updated by Björn Jacob over 6 years ago
- Status changed from Needs Feedback to Closed
Thank you for your feedback. I am closing the issue as requested.
Actions