Skip Navigation

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

Problem:
After translating a website using WPML, there was an error in the format of the WooCommerce product description. The translated description lost the

<p>

tag and could not wrap text like the original.
Solution:
If you're experiencing this issue, we recommend following these steps:
1. Go to the top right corner of the translation editor.
2. Click the gear icon.
3. Disable the option "I prefer bigger segments".
4. Close the editor and send the page to translate again via WPML > Translation Management.
5. Complete the product/page translation.
After completing these steps, the description should display correctly on the front end. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please check 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. We highly recommend opening a new support ticket if needed 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.

Tagged: 

This topic contains 17 replies, has 2 voices.

Last updated by luG-2 10 months, 1 week ago.

Assisted by: Osama Mersal.

Author Posts
July 30, 2024 at 2:40 am #16018368

luG-2

Background of the issue:
After translating our website using WPML, there was an error in the format of the WooCommerce product description. The translated description cannot be the same as the original text and cannot be wrapped.

Symptoms:
The WooCommerce product description we translated has lost the

tag.

Questions:
How can we solve the problem with the WooCommerce product description format after translation?

July 30, 2024 at 2:42 am #16018397

luG-2

The translator will remove the "p" tag from my product description

July 30, 2024 at 11:11 am #16020054

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

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

1) Please check this page and try the mentioned workaround.

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me much information about how your site is configured.

Best regards,
Osama

August 1, 2024 at 6:01 am #16027504

luG-2

I have provided the dug info, please help me resolve it as soon as possible.
Thanks

August 1, 2024 at 7:58 am #16028060

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Thanks for the debug info. Please let me know if you tried the steps mentioned on this page.

Best regards,
Osama

August 1, 2024 at 8:00 am #16028063

luG-2

WPML >> Translation Management Select the product you want to translate and click on Translate

August 1, 2024 at 8:00 am #16028066

luG-2

Did you upgrade to a new version of e.ate-wpml.org?

August 1, 2024 at 8:02 am #16028072

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

There is a new version of ATE, but it's not released for all sites. If you see a dark mode of ATE, so you have the new version of ATE.

Best regards,
Osama

August 1, 2024 at 8:14 am #16028102

luG-2

The translated product description cannot have the same layout and line breaks as the original description.
original URL:hidden link
Translated ES URL:hidden link

en-admin.png
en-f.png
es-admin.png
es-f.png
August 1, 2024 at 8:16 am #16028161

luG-2

I have seen the dark mode of ATE, what should I do now?

August 1, 2024 at 8:22 am #16028176

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

August 1, 2024 at 8:49 am #16028392

luG-2

I think you may have updated ATE, which has affected the translation, not only the product description, but also the page translation

August 1, 2024 at 8:55 am #16028455

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Thanks for the access details. Please check the following steps:

1– Go to the top right corner of the translation editor
2– Click the gear icon
3– Disable the option “I prefer bigger segments”
4– Close the editor and send the page to translate again via WPML > Translation Management.
5– Complete the product/page translation

After that, the description works correctly on the front end. Kindly check this hidden link">product.

I've completed the first 3 steps, which need to be done only once. To fix the issue, you need to re-translate the problematic products/pages.

Best regards,
Osama

2024-08-01_11-49-06.jpg
August 1, 2024 at 8:57 am #16028531

luG-2

OK, I'll try it now

August 1, 2024 at 8:58 am #16028535

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Sure, please take your time.