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 23 replies, has 2 voices.
Last updated by Osama Mersal 1 year, 4 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
November 9, 2023 at 2:39 pm #14768431 | |
diegoC-51 |
Hello, I have updated some content on two pages, then translated the texts in the ATE and now I see that in the front end, on the translated pages (French and English), there are texts that have reverted to the original language (Spanish) even though they are translated. One of them corresponds to the entirety of the Table of Contents of Rank Math, and the other is a separate H4 that doesn't appear in the ATE to be translated. The contents are edited on the page in Spanish (the main language) and then translated into French and English using the ATE. I need your assistance, please, to fix this quickly. Thank you. I don't know if it's related, but every now and then I get this message that I'm attaching, when publishing the page. And other times a message about an unexpected JSON response. |
November 12, 2023 at 9:47 am #14783403 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for contacting WPML forums support. I'll be glad to help you today. First of all, sorry for the late reply due to a higher workload. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Your answer will be private, meaning only you and I can access it. ❌ Please backup your database and website ❌ ✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason 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. Best regards, |
November 12, 2023 at 3:01 pm #14784143 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for the access details. Please deactivate all of your caching plugins, edit the page in the default language, make a minor edit to the untranslated strings, and update the page. After that, please update the translation and check if the strings will be translated correctly on the front end. I've added the following XML code to WPML-> Settings-> Custom XML tab to register the block. <wpml-config> <gutenberg-blocks> <gutenberg-block type="rank-math/toc-block" translate="1"> <key name="title" /> <key name="content" /> </gutenberg-block> </gutenberg-blocks> </wpml-config> Best regards, |
November 12, 2023 at 3:19 pm #14784199 | |
diegoC-51 |
Hi, Thank you for helping me! |
November 12, 2023 at 3:22 pm #14784263 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Following these steps, please check if the issue persists in a minimal environment. 1- Deactivate all the plugins except WPML CMS, String Translation, Rankmath, and WPML SEO. If the issue is gone, activate them one by one to see which one is causing an interaction issue. ❌ Please backup your database before performing the above test ❌ If you face the saving issue again, please deactivate WPML and try to save the post again. Best regards, |
November 13, 2023 at 5:16 pm #14791319 | |
diegoC-51 |
Hi, |
November 13, 2023 at 5:36 pm #14791505 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, This test is needed to isolate the issue. If you are not comfortable doing this test on your site, please let me know if you have a staging site. If not, please let me know to create a test site where you can migrate your site, so we can debug it safely. Best regards, |
November 13, 2023 at 5:42 pm #14791659 | |
diegoC-51 |
Hi Osama, KInd regards. D |
November 14, 2023 at 6:56 am #14793671 | |
diegoC-51 |
Hello, |
November 14, 2023 at 7:45 am #14794165 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi Diego, If the translation worked correctly after deactivating the plugin and theme, we will need to activate them one by one. After each activation, we will update the page in the default language and its translation to check which activation caused the issue. Best regards, |
November 14, 2023 at 10:12 am #14796101 | |
diegoC-51 |
Hi, |
November 14, 2023 at 10:22 am #14796299 | |
diegoC-51 |
Hi again, |
November 14, 2023 at 10:42 am #14796551 | |
diegoC-51 |
Sorry, |
November 14, 2023 at 11:49 am #14797279 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for migrating your site. I made some tests and found that the block is translated correctly on a new test post. (hidden link) On the exciting post, the translation worked correctly when deleting the table of contents block and adding a new one. (hidden link) Also, I tried to replicate the issue on the sandbox, but it's not replicable. (hidden link) Best regards, |
November 14, 2023 at 1:23 pm #14798103 | |
diegoC-51 |
Hi Osama, I need to please make this work. I have been unable to move forward for over a week now because of this issue. Best regards, D. |