Description
Preconditions and environment
- Mage version irrelevant - but still present in 2.4.8
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
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.