Email preview token translation incorrect in multi-language

Created on 25 July 2024, 4 months ago
Updated 10 September 2024, 3 months ago

Problem/Motivation

In email we are showing content preview through the token [message:preview]. While the email is translated correctly, but content preview is not when using multiple languages

Steps to reproduce

- Install a second language
- Enable social_event
- Create an event and then go to "add directly"
- Add a second person so they will get the email message template "member_added_by_event_organiser"
- Notice that the email itself has been translated, but the event preview not. Containing words like event location, event date.

Proposed resolution

In the emails we are using a setConfigOverride, but this also needs to be done for the string translation that get used while rendering the node.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

13.0

Component

Code (back-end)

Created by

🇳🇱Netherlands robertragas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024