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
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 3 replies, has 0 voices.

Last updated by Osama Mersal 3 weeks, 2 days ago.

Assisted by: Osama Mersal.

Author Posts
December 9, 2024 at 6:45 pm #16494643

kaiE-2
Site owner

Background of the issue:
I am trying to ensure that custom WooCommerce email templates are displaying translations correctly. The primary default language is German, with English as the secondary language. I have followed WPML best practices and cleared caches multiple times. The issue can be seen at: hidden link

Symptoms:
Despite my efforts, some texts in the custom email templates still appear in German instead of English. Emails are partially translated.

Questions:
Why are some texts in the custom email templates not translating to English?
What additional steps can I take to ensure all email templates are fully translated?

December 10, 2024 at 10:52 am #16497463

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Please try the following steps:

1- Go to WPML-> Theme and plugins localization, select your theme/plugin, and scan
2- Go to WPML-> String Translation
3- Scroll down and click on the "Translate texts in admin screens »" link
4- Search for the needed strings
5- Select the strings
6- Click on the "Add to String Translation" button
7- Then click on the "« Return to String Translation" link
8- Translate the strings, clear the cache, and check the front end

Kindly check our guide to know more about translating texts in the admin texts screen. (https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/)

Best regards,
Osama

December 16, 2024 at 2:42 pm #16517846

kaiE-2
Site owner

Hi Osama,
we followed your steps and the steps from this guide before:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#enable-auto-register-strings

In step 4 we found the strings that were not translated.
We added the translation and cleared the cache but the strings were still not translated in the email.

best regards

December 16, 2024 at 3:29 pm #16518051

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your reply. Please log in to this hidden link">sandbox site, create a custom email template, and translate it.

After that, please reproduce the issue. If the issue is replicable, kindly let me know how to reproduce it.

Note: You can check the emails using the hidden link">Mail Log plugin.

Best regards,
Osama

The topic ‘[Closed] Issues with Custom WooCommerce Email Translations’ is closed to new replies.