Skip to content Skip to sidebar

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

Problem:
The client's translator encountered an issue with the Advanced Translation Editor (ATE) where many French content blocks, such as normal paragraphs or table blocks from WordPress, were missing in the ATE editor during the translation process from French to Spanish. Additionally, some blocks that were translated into Spanish were still shown in French on the Spanish page.

Solution:
We recommended increasing the WP Memory Limit to 256M, as the minimum required by WPML is 128M, and the client's WP Memory Limit was set to 40M. We provided the following code to add to the wp-config.php file:

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

This code should be placed just before:

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

After making this change, the client should verify the current settings at WPML > Support > WordPress and then attempt to complete the translation again. If the issue persists, we advised contacting the hosting provider to request an increase in the memory limit, if possible, and then editing the original content, saving it again, and opening the translation editor. If the problem is still not resolved, we asked the client to inform us.

Please note that this solution might be irrelevant due to being outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, please open a new support ticket in the 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.

This topic contains 1 reply, has 2 voices.

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

Assisted by: Andreas W..

Author Posts
April 11, 2024 at 11:06 am #15508622

adrienJ-4

Hello,

Our translator reported us an issue with the ATE.

Recently, she was translating this French content:
hidden link

Into Spanish:
hidden link

But there were many French content blocks missing on the ATE editor.
These are normal paragraphs or table blocks from WordPress (not another plugin).

And, as you can see on the Spanish page, the French blocks that were missing on the ATE are there.

I've already did a backup of the website and tried to:

- update the original French post slightly (add spaces ...) -> didn't work
- clear WPML cache -> didn't work
- remove ghost entries -> didn't work
- synchronize local jobs with ATE -> didn't work
- set language information -> didn't work
- cleanup and optimize string tables -> didn't work
- clear invalid strings -> didn't work

I couldn't find any way to make the French missing blocks appear on the ATE editor.

And we have another issue on the same post: some of the blocks that were translated into Spanish are still shown in French on the Spanish page.

We've already translated hundreds of contents from French to Spanish and we never had this issue.

Thanks for your time!

Capture d’écran 2024-04-11 à 13.01.31.png
April 11, 2024 at 4:33 pm #15510504

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 increase your WP Memory limit to 256M? 128M is the minimum required by WPML.
Your current values are:

PHP Memory Limit 1024M
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.

Now, edit the original content, save it again, and open the translation editor.

If this solves the issue, complete the translation to 100%.

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

Best regards
Andreas

April 17, 2024 at 7:39 pm #15534686

adrienJ-4

It worked just fine! Thank you 🙂