Project

General

Profile

Actions

Bug #84907

closed

Translation of parameters

Added by Anna-Lena Vahle over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
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}".


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #82715: Form framework: Use runtime values in localized subjectClosed2017-10-10

Actions
Actions

Also available in: Atom PDF