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 #1

Updated by Ralf Zimmermann over 6 years ago

  • Related to Bug #82715: Form framework: Use runtime values in localized subject added
Actions #2

Updated by Ralf Zimmermann over 6 years ago

Should be fixed for TYPO3 v9 and 8.7.14

Actions #3

Updated by Björn Jacob over 6 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Anna-Lena Vahle
Actions #4

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 :)

Actions #5

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

Also available in: Atom PDF