Address::create should take langcode into account

Created on 9 October 2023, over 1 year ago

Problem/Motivation

Currently the Sender address creation hardcodes the default language as site default language: https://git.drupalcode.org/project/symfony_mailer/-/blob/1.x/src/Address...

Steps to reproduce

-

Proposed resolution

Use something code like this to get the to get translated display name.
$config_translation = \Drupal::languageManager()->getLanguageConfigOverride($langcode, $config_name);

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇫🇮Finland sokru

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

Comments & Activities

Production build 0.71.5 2024