Background of the issue:
I developed a site using Blocksy and have translated it using machine translation. The issue occurs when I try to edit pages with Accordion type blocks after translation. Italian is the main language of the site, English its translation.
Symptoms:
When I reopen English pages with Accordion blocks to make changes, the content disappears and goes back to empty. The only workaround is to delete the page in its English version, translate it again, and make changes before publishing.
Questions:
Why does the content in Accordion blocks disappear after reopening the page?
Is there a way to edit Accordion blocks without losing content?
Based on your description, I understand you edited the translated English with the Blocksy/WordPress editor. If you automatically translated the content, you should only keep editing the translation with the Advanced Translation Editor.
Also, the debug info you have attached shows that your server WP Memory Limit is set to 40M. Our recommendations are to have the following as minimal requirements:
- PHP 7 and above (this OK with your installation) with a WP Memory Limit of at least 128MB while 256MB is recommended.
MySQL 5.6 and above.
Please follow this link for detailed documentation:
Is it possible for you to change those to the minimum requirement?
You may need to contact your hosting provider for that. Meeting those baseline requirements is most critical before debugging and sometimes solves issues you experience. The most important thing is to raise the WP Memory Limit. Please try to raise it before you contact your hosting company. You can do it from the wp-config.php file in your WordPress installation. Insert this code in that file:
Hi Itamar, thanks for your help.
We change the WP Memory Limit but the problem it's still there.
I understand when you say "If you automatically translated the content, you should only keep editing the translation with the Advanced Translation Editor.", but... in this case I need, every now and then, to change some css class on the page in which I have the accordions.
So, If I change the css on the italian page and then I open the Advanced Translation Editor to update the english version, I pay everytime the credits for translate the same page, when the only thing I need to do it's change css class on some blocks.
It's not fair.
Do you have some workaround?
WPML's Advanced Translation Editor has a memory feature. Any translated text will remain translated. If you only change CSS and not text, then when visiting the translation on Advanced Translation Editor, you will not be charged.
Please let me know if you have any further questions.
Regards,
Itamar.
The topic ‘[Closed] Incompatibility with automatic translation and accordion blocks’ is closed to new replies.