- Issue created by @chfoidl
- Status changed to Fixed
about 1 year ago 9:38am 7 November 2023 - Status changed to Fixed
about 1 year ago 10:12am 7 November 2023
When Drupal is configured to not use en as the default language, setting up email templates will get overwritten, whenever \Drupal::service('locale.config_manager')->updateConfigTranslations()
is called for the user_api_email_confirm or user_api_passwordless modules.
The Problem comes from the english source strings for the email subjects (in case of user_api_email_confirm) and the email body (in case of user_api_passwordless) being exactly identical.
Due to the locale config manager using the source string as a key for translating config, the actual values are being mixed up.
Make sure that the source config provides unique strings in the email content config.