Skip Navigation

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

Problem:
The client needed to increase the WordPress memory limit to at least 256 MB for WPML and was looking for recommendations on plugins to customize and enhance the appearance of emails.
Solution:
We advised the client to increase the WordPress memory limit by adding the following code to the

wp-config.php

file:

define ('WP_MEMORY_LIMIT', '256M');

This code should be placed just before the comment:

// That's all, stop editing! Happy blogging.

For email customization, we recommended checking the WPML-compatible plugins directory here:
https://wpml.org/plugin/
Specifically, for email-related plugins, the client can search using this link:
https://wpml.org/plugin/page/4/?wpv_view_count=120064&wpv_post_search=mail&wpv_filter_submit=Search
A suggested plugin for email customization is:
https://wordpress.org/plugins/email-customizer-and-designer-for-woocommerce/

If this solution does not resolve your issue or seems outdated, please check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket for further assistance.

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 3 replies, has 2 voices.

Last updated by Andreas W. 7 months, 3 weeks ago.

Assisted by: Andreas W..

Author Posts
July 5, 2024 at 8:07 pm #15900080

wiraN

Background of the issue:
My website uses Brazilian Portuguese (pt-br) by default. I would like to translate transactional emails for customers using the website in English and Spanish. I tried following this step by step: https://wpml.org/documentation/related-projects/woocommerce-multilingual/how-to-translate-woocommerce-emails/

Symptoms:
The strings do not appear for me to translate the emails.

Questions:
Why do the strings not appear for me to translate the emails?

July 5, 2024 at 11:20 pm #15900530

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Could you please increase the WordPress memory limit (WP Memory Limit) to at least 256 MB? WPML requires at least 128M.
Your current values ​​are:

PHP Memory Limit 2048M
WP Memory Limit 40M

To do this, you need to connect to your website's server and open the wp-config.php file in a text editor. The file is located in the root directory of WordPress.

Add this code to the wp-config.php file to increase WordPress memory:

define ('WP_MEMORY_LIMIT', '256M');

Add this just before this comment:

// That's all, stop editing! Happy blogging.

The current values ​​can be viewed under WPML > Support > WordPress.

These settings can be restricted directly by your hosting provider. I therefore recommend contacting them and asking them to change them directly if the changes are not applied immediately.

Now, go to WooCommerce > Settings > Emails and edit the e-mail that you would like to translate.

Make an edit to at least one of the e-mail fields and save the settings. This should register the strings in WPML > String Translation. Also, the same WooCommerce E-Mail Settings Page should display a link that leads you directly to the translatable strings.

If this still does not work as expected, please let me know.

Best regards
Andreas

July 6, 2024 at 2:11 am #15901058

wiraN

Hello Andreas. All good? Thank you for your support. I have successfully increased WP Memory Limit. I didn't pay attention to the documentation that WPML already automatically translates emails.

I would like to know if you can recommend some plugins to customize the emails and make them more attractive.

July 6, 2024 at 4:35 pm #15903812

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Recommended plugins that have been tested by our team can be found here:
https://wpml.org/plugin/

Here the results for plugins that contain the string "email":
https://wpml.org/plugin/page/4/?wpv_view_count=120064&wpv_post_search=mail&wpv_filter_submit=Search

Take note, that this directory also includes plugins that have not passed the compatibility test. Some plugins may not have been tested for various years, others have been tested recently. Each single plugin pages also include more details about known issues.

Possible candidate:
https://wordpress.org/plugins/email-customizer-and-designer-for-woocommerce/

July 9, 2024 at 1:34 am #15916217

wiraN

Thanks for your support