Translate email notification templates

Created on 21 March 2022, over 2 years ago
Updated 11 May 2023, over 1 year ago

Problem/Motivation

It would be really nice if email templates are translatable.

Steps to reproduce

1. Enable Configuration translation module
2. Enable second language (for example french)
3. Go to /admin/config/regional/config-translation - you will not see a way to translate the Auto Purge Users email template.

Proposed resolution

I prepared a small patch that allows this - basically split the setting for the mail templates from the general one (like the core's user module does) and change the schema to allow translations. Then, depending on the user's selected language preference we get the proper langcode and build the email subject and body.

Remaining tasks

Review and test

📌 Task
Status

Needs work

Version

4.0

Component

Code

Created by

🇧🇬Bulgaria yivanov

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024