[Resolved] Posts are not translating in the secondary language
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was unable to duplicate posts while editing, translated posts were not linked to the original English posts, and there were errors when editing posts with Elementor on their WordPress site. Solution: We installed a local copy of the client's site to investigate the issues. We discovered that the problems were related to incorrect database records for the existing posts. After correcting these on our local setup, we imported the posts back to the client's site, which resolved the issues. We recommend the client to verify if the connecting translations and duplicating functions are now working correctly.
Please note that this solution might be outdated or not applicable to your specific case. If the problem persists, 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 needed, 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.
Background of the issue:
I am trying to translate the posts on my site hidden link using WPML.
Symptoms:
1- Cannot duplicate the post while editing. 2- Translated posts are not linked to the original English posts and are published as new independent posts. 3- Encountering errors when editing posts with Elementor.
Questions:
Why can't I duplicate the post while editing?
Why are translated posts not attached to the original English posts?
Why do I encounter errors when editing posts with Elementor?
2 & 3) We'll need more information about these issue, for example any URLs to the pages where this is happening, screenshots or a screen recording which 'd be much better for understanding (i.e. what exactly is happening).
Please let us know and we'll try our best to help you further on the matter.
The issue is for the for the blog posts only, when I try to duplicate the posts.
The issues is only when I try to duplicate the posts from English to Arabic, while the Arabic to English is working fine. I have attached the images for example
I'm Osama from WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply; it was due to a higher workload.
1) Would you please share a screen-recorded video while reproducing the issue to help me understand it better?
2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)
You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:
i have inserted the code you suggested, but it did not help. Any post created in English version is not getting duplicated neither i can attach them to Arabic. I have attached the screenshots.
Thanks for your reply. 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.
Thanks for the access details. I installed a local copy of your site to check the issue, and I found that it was in the database records for the existing posts.
I fixed the issue on my local copy and imported the posts to your site, which fixed the issue. Kindly check this hidden link">video.
Please check if the connecting translations and duplicating functions work correctly.