Skip Navigation

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

Problem:
If you're experiencing issues where WPML is not translating long product descriptions, even though it translates short descriptions, and newly added text to long descriptions is not being picked up by the translator, this might be due to a caching issue or a problem with the translation package.
Solution:
We recommend you try the following steps:
1. Edit the product in the main language, make a minor change, and save it.
2. While editing, note the main language product ID in the URL.
3. Go to WPML -> Packages and find the package of the product in question, e.g., 'Page Builder Page 17021'.
4. Select the package and delete it.
5. Navigate to WPML -> Translation Management and search for the product.
6. Send it for translation in both languages.
7. Go to the translation basket when it appears and assign the job to the first translator available.
8. Proceed to WPML -> Translations and start the translation.
9. Ensure the translation reaches 100% completion (new text will likely be added in the translation editor for translation) and save it.
10. Clear every cache available and test it again.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum 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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Mateus Getulio 8 months ago.

Assisted by: Mateus Getulio.

Author Posts
August 26, 2024 at 6:15 pm

benoitV-5

Background of the issue:
Hello folks, we have an issue where WPML is not translating product descriptions. It translates short descriptions, as you can see here -> hidden link - but it's not translating long descriptions, this -> hidden link. You can see this product - hidden link - when I add new text to the page, the translator at hidden link is not picking up all text from the long description. It's not picking up newly added text and it won't translate any of the text from that area. I temporarily disabled all plugins via the Health Check and Troubleshoot plugin (only for my admin user) to exclude any conflicts and translation still would not work, even with the Elementor plugin disabled, so I think it's not a conflict with something. I can share WP Credentials if you want to take a look yourself.

Symptoms:
I expected that all product descriptions would be translated but it only recognized and translated short product descriptions. Instead, we got long product descriptions that were not translated.

Questions:
Why is WPML not translating long product descriptions?
Why is the translator not picking up newly added text from the long description?
Could there be another reason besides plugin conflicts that is causing this issue?

August 26, 2024 at 6:41 pm
August 26, 2024 at 9:11 pm #16106805

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

I working on it but I'm still looking for a solution.

I'd like to ask permission to make a copy/staging version of your site where I can debug this closely without affecting the live site.

I'll make sure to delete this copy as soon as we get this issue fixed.

I'm afraid of debugging directly on the live site and cause issues to your visitors. Also, it is important to test a different setup as part of the troubleshooting.

Thank you, please let us know.
Mateus

August 26, 2024 at 9:26 pm #16106834

benoitV-5

Hello Mateus,

Feel free to clone the site to your staging environment in order to test it, we understand that it's a complex issue.

Keep us posted.

Kind Regards.

August 26, 2024 at 9:31 pm #16106838

benoitV-5

You can grab the files from here, there you have a zip of wp-content and the database, if you need a newer db version then you can download the one from Updraft backups.

files.jpg
August 27, 2024 at 8:43 am #16108315

benoitV-5

We made a staging site for you - hidden link - The login is the same as for the shop.veganbutcher.be - we disabled all plugins except WooCommerce and WPML and there are still problems with the translations. You can test there or in your staging environment, wherever you like.

August 27, 2024 at 12:24 pm #16109726

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Thank you for providing me with the staging site.

Upon further review, I was able to fix the issue for the product given as an example:

hidden link
hidden link

To fix it I followed the steps:

- Edit the product in the main language, make some minor change to it and save it
- While editing it, note the main language product ID in the URL, for Vegan ‘herbie’ burger it was 17021
- Go to WPML -> Packages and find the package of the product in question: eg.: Page Builder Page 17021
- Select the package and delete it
- Go to WPML -> Translation Management and search for the product
- Send it for translation in both languages
- Go to the translation basket when it appears and assign the job to the first translator available
- Go to WPML -> Translations and get the translation started
- Make sure the translation hits 100%(new text will likely be added in the translation editor for translation) and save it
- Clear every cache available and test it again

I believe the issue could have been caused by cache, after I performed the steps above I could no longer reproduce the issue for that product.

Thank you, please let me know.
Mateus