-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Email lang unclear #39857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @vandijkstef. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
@vandijkstef: it may make sense indeed. Can you confirm if adding a |
@hostep I have not confirmed this fix yet. I can probably tell more about that next week. Pushing towards proper standards didn't seem like a bad idea anyway and possibly there are more people with a similar issue. I couldn't find anything related. |
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi @vandijkstef , Thanks for your reporting and collaboration. Steps to reproduce :
After Translation Kindly recheck the issue in 2.4.8 instance and elaborate the steps to reproduce if the issue is still reproducible. Thanks. |
Hello @vandijkstef , I wanted to follow up on the issue on the above commented on a couple of weeks ago. Please let me know if there's anything further needed from my side. Best regards, |
Hi @engcom-November. Thank you for working on this issue.
|
@engcom-November Sorry for the delay - 2.4.8 has some other side effects for us taking up my time. My initial testing to put a lang attribute on the HTML-tag is NOT giving better results. It seems it's being completely ignored in gmail client. |
Preconditions and environment
Steps to reproduce
Send an (HTML) email towards gmail users with potential mixed language.
In our case we send out an email in Dutch language containing the word "Wit" (EN: White) which got taken as 'Wit' (EN: Wit) which got replaced with "Geestigheid" (EN: Wit)
Expected result
The email showing as intended
Actual result
Lately we have been getting some reports from customers that had weird data show up in their order confirmation (html email). All these users turned out to be Gmail users, and their software is prone to automatically translate emails. So, while I'd like to call this an 'user issue' I dove a little deeper: Mainly the email templates (email/header.html) are NOT decorated with a 'lang' attribute. Some email clients might wrongly assume the email is not in the users native language and will attempt to translate these fields, leading to confusing customers.
Additional information
I am suggesting to add a 'lang' attribute to HTML email templates, as recommended by W3 for any HTML document.
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: