Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client reported an issue where the admin received an order confirmation email in the HR (Croatian) language, but the customer received the same email in SI (Slovenian), despite all strings being translated correctly in WPML.
Solution:
We first recommended testing with only the default WordPress theme and essential plugins (WooCommerce and WPML) to ensure that the issue wasn't caused by any other plugin or theme conflicts. Upon testing, it was confirmed that the HR email was sent correctly to the customer under these conditions.
Further investigation revealed that the issue was due to the use of a custom string added in the email content in SL (Slovenian), which was not translated. We advised the client to either translate these custom strings via WPML > Translation Management or to delete the custom strings and revert to using the default provided strings.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.

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.

This topic contains 2 replies, has 1 voice.

Last updated by ziga pipan 5 days, 13 hours ago.

Assisted by: Dražen.

Author Posts
March 17, 2025 at 4:35 pm #16826492

ziga pipan

Background of the issue:
I have a website in SI (original language), HR, and ES. Somebody just made an order on the HR language site.

Symptoms:
The admin received an email in HR language, but the customer received an email in SI language.

Questions:
Everything is translated ok in string translations
hidden link

March 17, 2025 at 4:38 pm #16826493

ziga pipan

Previous logs show all ok, HR clients got HR emails.
Looks like the new wpml update broke it.

March 18, 2025 at 11:19 pm #16832836

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

While one of my teammates handles your ticket, I will provide you with the first debugging steps.

I recommend following the steps outlined in the response to your ticket here: https://wpml.org/forums/topic/emails-not-translated-entirely/.

March 18, 2025 at 11:56 pm #16832910

ziga pipan

Thank you. I did not open the same ticket twice actually. I think this is a different situation. This is HR language and entire email is not translated. My other ticket is in ES languager and only parts of email are not translated.

March 20, 2025 at 8:33 am #16838524

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back.

1) Can you please try next:

- Make sure you have a backup.
- Disable all other plugins and leave active only WPML plugins and Wocommerce
- Switch to WP default theme
- Check if the issue still happens.

2) If the issue still happens, please provide access to the staging site so we can check it out further.

Regards,
Drazen

March 20, 2025 at 11:29 am #16839637

ziga pipan

I see this will take days/weeks to get sorted. The spanish site just went live, google ads are running and I can't have customer emails looking like that. Can you just tell me how to downgrade? It used to work ok.

March 20, 2025 at 1:30 pm #16840179

Dražen
Supporter

Languages: English (English )

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

Hello,

it would be better to at least have staging site so we can check and hopefully fix this for you / future versions.

As for versions, you can download it from your Downloads page > Download WPML manually https://wpml.org/account/downloads/:

- https://wpml.org/download/wpml-multilingual-cms/?section=changelog
- https://wpml.org/download/wpml-string-translation/?section=changelog
- https://wpml.org/download/woocommerce-multilingual-multicurrency/?section=changelog

Regards,
Drazen

March 20, 2025 at 1:32 pm #16840188

ziga pipan

how does staging site even work where every language has it's own domain?

March 20, 2025 at 1:41 pm #16840296

Dražen
Supporter

Languages: English (English )

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

Hello,

it is just language format, you can change to directory per language, not domains on staging, and check ifthe same issue happens. It should, and then we can help further.

Regards,
Drazen

March 21, 2025 at 8:51 pm #16846465

ziga pipan

managed to create a website clone, please enable a private window.

March 24, 2025 at 6:45 am #16849793

Dražen
Supporter

Languages: English (English )

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

Hello,

great, please share wp-admin and FTP access and steps to reproduce/see the issue.

Thanks,
Drazen

March 24, 2025 at 9:46 am #16850671

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back.

I have just tested with only the WP default theme and WC, and WPML plugins and I can see the correct HR email is sent to the customer. Image attached.

Does the issue still happen for you or there are some specific steps needed?

Regards,
Drazen

WP Mail Catcher ‹ Ergovision — WordPress.jpg
March 24, 2025 at 9:58 am #16850892

ziga pipan

Why is this not translated for example?
hidden link

March 24, 2025 at 10:08 am #16850990

Dražen
Supporter

Languages: English (English )

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

Hello,

this is not the same string, that is the default one while you are adding custom (same) in adding additional content to your email in SL. You will need to translate those via WPML > Translation Management or delete the custom string and use the default one.

Image attached.

Regards,
Drazen

WooCommerce settings ‹ Ergovision — WordPress.jpg
March 24, 2025 at 10:27 am #16851087

ziga pipan

New order for admin email
hidden link

If I click this
hidden link

All I get is this
hidden link

Also this appears to be translated here
hidden link