Skip Navigation

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

Problem:
Translating WooCommerce emails but most of the emails do not show string translations.

Solution:
Since placeholders don't appear for translation, we need to add some data in the email field contents to make them appear in frontend.

Check this response: https://wpml.org/forums/topic/translating-woocommerce-emails/#post-14436917

Relevant Documentation:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#strings-arent-selected-for-translation

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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Prosenjit Barman 7 months ago.

Assisted by: Prosenjit Barman.

Author Posts
September 20, 2023 at 6:22 pm #14432901

davidW-45

Tell us what you are trying to do?

Translating WooCommerce emails but most of the emails do not show string translations.

I have run the Theme and Plugin localization several times and it made some of the strings in emails available, but most of the Emails do not even show in the String Translations domain drop down. I'm attaching screenshot of the dropdown; and screenshot with the WooEmails missing strings - in red.

Is there any documentation that you are following?
https://wpml.org/documentation/related-projects/woocommerce-multilingual/how-to-translate-woocommerce-emails/#translating-woocommerce-default-emails

https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#track-where-strings-appear-on-the-site

https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#strings-arent-selected-for-translation

Is there a similar example that we can see?

What is the link to your site?
hidden link

strings-woo.jpg
missing strings.png
September 21, 2023 at 9:44 am #14436917

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support. I will try my best to assist you in this matter.

I understand the issue you're talking about. Could you confirm that you've inputted data into the available fields within each Email template? Please check this screenshot for a better understanding: hidden link

It's essential to note that placeholders won't be available for translation. For that reason, it is the primary requirement to enter data into each field within the Email template to be able to effectively translate them.

Afterward, rescan the "WooCommerce" Plugin for Strings via the "WPML > Theme and Plugin Localization" section. Once the scan is completed, search for the Email Strings in the Admin screen and include those strings for Translation. Please check the documentation below for a better understanding.

- https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#strings-arent-selected-for-translation

Please also check this video to understand how the Email strings appear in the String Translation: hidden link

Please let me know if that helps or if you need further assistance. I will be happy to help.

Best Regards,
Prosenjit

September 21, 2023 at 6:40 pm #14441771

davidW-45

Got it! We did not have the text in the fields, only placeholders that come with WooCommerce. Once I actually typed the text into the fields the string translations appeared.

Thank you so much for your help. The video was also super helpful.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.