Background of the issue:
I am following up on this thread https://wpml.org/forums/topic/email-aligment-is-inccorect-in-woocommerce-mail-sent-to-admin/, where I was told that the fix is scheduled with the next WCML version (back in the end of July), which was released together with WPML 4.8. I is still not fixed. I did try the suggested snippet, which works, except that the email's heading is still aligned incorrectly.
Symptoms:
The email's heading is still aligned incorrectly to the right in a Hebrew email, which should be rtl (with the suggested snippet. without the snippet the whole email is aligned incorrectly).
Questions:
How can we make the email heading align to the correct side?
Would you mind following the below steps and see if it helps.
- Go to WPML->String Translations
- At the bottom of the String Translation page, click on Not seeing strings that you are looking for? tab
- Click on Admin Texts Translations link
- Search for the woocommerce_email_header_alignment there and see if you can find them.
- If you can find it, select it and add it using the “Add to string translation” button
- Click on “Return to String Translations”
- Translate it and for hebrew set it as right.