- Issue created by @eameyers
- Merge request !76Change translation of frequency_translated variable → (Open) created by Unnamed author
When you send an email with the footer with a users notification settings the whole string except the frequency gets translated, even if the frequency string is translated in drupal.
This is the code with the issue
social/modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/Immediately.php
line 141
// Translating frequency instance in the language of the user.
$frequency_translated = $this->t('@frequency_name', [
'@frequency_name' => $this->getName()->getUntranslatedString(),
],
['langcode' => $langcode]
);
change code to this:
// Translating frequency instance in the language of the user.
$frequency_translated = $this->t($this->getName()->getUntranslatedString(), [],
['langcode' => $langcode]
);
Active
11.9
Code (back-end)