Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

This topic contains 8 replies, has 1 voice.

Last updated by rayaA 2 days, 13 hours ago.

Assisted by: Dražen.

Author Posts
May 7, 2025 at 1:38 pm #17006844

rayaA

Background of the issue:
I created a fresh new WooCommerce store on a website with the default language set to English. The Admin's language is Hebrew. The customer places an order on the English website and receives their email in English with correct alignment. The Admin receives the New Order Email in Hebrew.

Symptoms:
Email sent in Hebrew to Admin was aligned to the left instead of the expected right alignment.

Questions:
Why is the email alignment incorrect for the Admin's New Order Email in Hebrew?
How can I ensure the email is aligned to the right for Hebrew language emails?

May 8, 2025 at 9:40 am #17010562

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

On this sandbox
hidden link

Can you set site language as Hebrew:
hidden link

And order some product? Don't install or activate WPML. I installed hidden link as well.

This will tell us if this is about general email translations of the way WPML handles them for the Hebrew language.

May 10, 2025 at 5:35 pm #17019314

rayaA

Hi,
You asked that I would set the site language as Hebrew, however in the case that I reported the site's language is English, and the Admin user language is Hebrew.

So in the sandbox that you provided, I set the site language as English, and the admin's language as Hebrew.
I placed an order from the English site, and the email that is sent to the admin is sent in English and aligned left to right.
That would be the first email with "Your Sandbox order has been received!" subject.

After doing so, I set the site language to Hebrew (as you requested) and placed another order.
This time the email received has a right to left alignment (which is the correct alignment for Hebrew).
That would be the second email with "Your Sandbox order has been received!" subject.

So it seems like the admin user language has no effect, but the website's language has an effect.

May 12, 2025 at 6:56 am #17021104

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for taking the time to test this, it seems to work fine on the test site and without WPML.

Can you please set up WPML and try to reproduce the same issue on the test site? This will tell us if this specific WPML issue or bug.

Regards,
Drazen

May 12, 2025 at 11:15 am #17022501

rayaA

In the installation that you provided for me, the email sent to the admin is in English even if the admin chose Hebrew for his language in his profile settings. Maybe it's because I did not translate the WooCommerce but when I try to do that it says that I need credits which I do not have on this site set up by your team.
I have a staging site with minimal installations (WooCommerce, WPML, WCML, String translations, WP Mail Logging and nothing else active) where I was able to reproduce this problem, where can I share the login details?

May 12, 2025 at 12:20 pm #17022873

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for getting back.

I have checked further on the test site, and I was able to reproduce the issue and confirm it. It happens only with WPML; without it works fine.

I have now escalated this issue further to our 2nd tier to check and advise further.

I will update soon when I have some news. Note,it may take a day or two.

Regards,
Drazen

May 12, 2025 at 12:51 pm #17023118

rayaA

No problem, we will be updated with this issue. Thank you very much for your assistance.

May 21, 2025 at 7:29 am #17055345

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks for the patience, note we have confirmed and escalated this issue to our devs. We will be working on permanent fix, but note it will take time.

We do not have a valid workaround at this point.

I will update when I have some news.

Regards.
Drazen

May 26, 2025 at 10:52 am #17072669

rayaA

Thank you.