Skip to content Skip to sidebar

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

Problem:
The client is experiencing issues with the WPML Multilingual CMS plugin not working correctly with WooCommerce Product Tabs by Barn2 when WPML is activated.

Solution:
First, we recommend increasing the WP Memory limit to 256M as WPML requires a minimum of 128M to function properly in a minimal environment. The client can add the following code to their wp-config.php file:

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

This line should be placed just before:

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

After increasing the memory limit, the client should verify the current settings at WPML > Support > WordPress and then complete the translation again. If the hosting provider limits these settings, the client should contact them to request an increase.

For issues with translating WooCommerce Product Tabs, the client should check WPML > Settings > Custom Fields Translation and set the fields from "WooCommerce Product Tabs" to either "copy" or "translate" depending on their needs. If the text requires translation, they should select "translate". If the same settings or numeric values are needed across translations, they should use "copy". After adjusting these settings, the client should edit the original product, save it, and translate it again.

If these steps do not resolve the issue, we advise the client to open a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that they have installed the latest versions of themes and plugins. If further assistance is needed, please contact our 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 1 reply, has 2 voices.

Last updated by Andreas W. 1 year, 8 months ago.

Assisted by: Andreas W..

Author Posts
April 17, 2024 at 2:39 pm #15533383

matthijsL-4

I'm having trouble withe the pluging WPML Multilingual CMS, and Woocommerce Product Tabs by Barn2.
When I deactivate the plugin WPML Multilingual CMS, it does work

I've contacted Barn 2, and did what they asked. The String update

The site is hidden link (and it is in development, so we can do an change whatever we want.

April 18, 2024 at 2:30 am #15535240

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

Could you please clarify what you are expecting to see? What exactly is the problem?

IMPORTANT:
Please increase your WP Memory limit to 256M. 128M is the minimum required by WPML.
Your current values are:

PHP Memory Limit 256M
WP Memory Limit 40M
Add this code to your wp-config.php to increase WP memory:

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

Paste it just before:

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

Now, verify the current settings at WPML > Support > WordPress. Then complete the translation again.

These settings can be limited directly by your hosting provider, so I recommend you contact and ask them to modify them directly.
If you can get even higher values It would be great.

https://wpml.org/home/minimum-requirements/
Note: WPML needs a minimum WP Memory limit of 128M to work only under a minimal environment, which means, with a default theme and no other plugins installed.

----

Regarding the WooCommerce Product Tabs:

If you have issues with translating the product tabs, please revise WPML > Settings > Custom Fields Translation for fields that are coming from "WooCommerce Product Tabs" and set them to "copy" or "translate" accordingly.

Guide:
https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

If the text needs a translation choose "translate". If you need the same settings or numeric values on the translated product, use the setting "copy".

Now, edit the original product, save it, and translate it again.

If this will not solve the issue, please let me know.

Best regards
Andreas

April 18, 2024 at 6:02 am #15535379

matthijsL-4

Thank you so much!
This was the solution!