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: Bug
This topic contains 10 replies, has 0 voices.
Last updated by Bigul 1 week, 2 days ago.
Assisted by: Bigul.
Author | Posts |
---|---|
November 26, 2024 at 3:31 pm #16445731 | |
danielI-23 |
Background of the issue: Symptoms: Questions: |
November 26, 2024 at 5:22 pm #16446473 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Welcome to the WPML support forum. I will do my best to help you to resolve the issue. We hope you are following the steps suggested in this article - https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/ This may be a compatibility issue. Please share a screencast for a better understanding of the problem. You can share it via Google Drive or Dropbox. It will also help us a lot in our internal communication. -- Bigul |
November 28, 2024 at 6:30 am #16452406 | |
danielI-23 |
Hi Bigul, Thanks for the reply. It's not a compatibility issue, unless it's Elementor/WPML incompatibility because I disabled all the plugins and switched to default WP theme, and the issue still occurs. Here's the screencast: You can see that: |
November 28, 2024 at 4:50 pm #16456450 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Thank you for the updates. Please try the following steps after a full site backup and make sure the bug exists or not. 1) Trash the English Homepage Refer to the following documentation for more details. -- Bigul |
November 29, 2024 at 9:44 am #16458462 | |
danielI-23 |
I did what you suggested with no luck. Every time I create a translation for an Elementor-based page, and try to switch to Block Editor for the translation, it get's reverted back to Elementor editor. I followed the documentation link you provided as well, made sure I click "Translate independently" which should remove any syncronization between Croatian and English pages, but even after I did all that, english translation can't be edited with Block Editor. And this does not apply to homepage only, it's happening for all Elementor-based pages. In my case, the homepage is the only place where I need different editors on each language. For other pages I use either Elementor or block editor, for both translations. Any idea how could I troubleshoot this further? |
November 29, 2024 at 3:50 pm #16460563 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Thank you for the feedback. I have tried to reproduce the issue in a fresh installation on our sandbox site. But it works as expected. Please check the following URLs Login URL:- hidden link Page URL:- hidden link Therefore can you please try to replicate the issue in our sandbox site? Reproducing the bug in a fresh installation will help us a lot in debugging and we can escalate the ticket directly to our developers. -- Bigul |
December 2, 2024 at 5:53 am #16464187 | |
danielI-23 |
Actually, yes, I can reproduce the issue on your sandbox site. Here's loom video: hidden link |
December 3, 2024 at 12:50 pm #16471826 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Thank you for the details and for replicating the bug in the sandbox site. I am consulting with our team for an expert opinion and get back to you as soon as possible. Please wait. -- Bigul |
December 10, 2024 at 6:43 am #16495950 | |
danielI-23 |
Hi Bigul, I'm just checking in to see if there's any progress with the issue? The ticket was about to be closed because of the inactivity so I'm writing to make sure that doesn't happen. Best, |
December 10, 2024 at 7:41 am #16496167 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Daniel, Thank you for the updates. The ticket has been forwarded to our second-tier team, and we are now looking for possible workarounds in this case. So the ticket will not be closed. Please wait. -- Bigul |
December 14, 2024 at 4:05 am #16512977 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Daniel, We have a workaround for this case. Please try the following steps after a full site backup and let us know your feedback. 1) Add the following code to your functions.php file 2) Remember to replace 123 with the correct translated post ID (For example ID of the French homepage here) function compsupp7735_remove_elementor_edit_mode($meta_id, $object_id, $meta_key, $_meta_value) { // Define the specific post ID to check. $target_post_id = 123; // Replace 123 with the correct post ID. // Check if this is the specific post. if ($object_id === $target_post_id) { // Delete the specific meta field. delete_post_meta($object_id, '_elementor_edit_mode', null); } } add_action('updated_post_meta', 'compsupp7735_remove_elementor_edit_mode', PHP_INT_MAX, 4); 3) Resave the translation in the WordPress editor -- Bigul |