Issue Bug Closed

#84907Translation of parameters

Anna-Lena Vahle 05/02/18, 09:20 updated 05/29/18, 07:26

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}”.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.