- πΊπ¦Ukraine AstonVictor
It's a duplicate of #3356860 π Add support to contact emails translations Active issue.
I have a multilingual-site with English and Japanese.So if a Japanese user filling the contact form, I want to send a Japanese email template to the submitter, not the default English template.
After adding "Contact email" into multilingual support on admin/config/regional/content-language page, and I also translate the contact email template into Japanese smoothly. But when I submit the contact form as a Japanese user, I still received email with English template.
So I check the code in src/ContactEmailer.php, within the method sendEmails(), I can not find any code that do get translated template, so I created a patch to do that feature, hope to be reviewed, thanks.
Closed: duplicate
1.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
It's a duplicate of #3356860 π Add support to contact emails translations Active issue.