Subject not translated for message templates.

Created on 22 May 2023, over 1 year ago
Updated 31 May 2023, over 1 year ago

Problem/Motivation

When sending out email notifications based on the message templates while having multilanguage on. It will only send the base language, not the translation for the subject lines.

Steps to reproduce

- Enable social_language
- Add a second language
- Translate on 1 the message templates on /admin/structure/message. Make sure to translate the subject line.
- Change the preferred language for the user you want to trigger it for to a different one (not the base language)
- Trigger the message template
- Notice the subject line is not translated

Proposed resolution

Change the way we get the subject from the message module that is not free of overrides.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

11.9

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