This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where after updating the theme customizer, the content that should remain in English is instead showing in other languages. This problem is linked to the Query Monitor plugin blocking Ajax actions from WPML during the save process.
Solution:
We recommend disabling the Query Monitor plugin, especially when updating content or translations, as it is primarily a debugging tool and can impact performance on live sites. Disabling it should resolve the issue with saving content in the correct language. For more details on this conflict, you can visit the discussion on WordPress.org.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at 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.
Tagged: Exception
This topic contains 0 reply, has 0 voices.
Last updated by Dražen 2 months, 2 weeks ago.
Assisted by: Dražen.
Author | Posts |
---|---|
April 3, 2025 at 11:54 am #16891854 | |
bikbulatovaE |
Background of the issue: Symptoms: Questions: |
April 6, 2025 at 12:37 pm #16901253 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for contacting 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. 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 back up 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. Best regards, |
April 7, 2025 at 5:24 am #16902351 | |
bikbulatovaE |
Please ask to you collegue to get in this ticket: https://wpml.org/forums/users/drazen-d/ |
April 7, 2025 at 10:17 am #16903502 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I will take over the ticket and help further. 1) As I remember from our chat, the issue was that you had strings in another language in the frontend not translated, but in this case, I see you have it correct in the customizer but wrong on the frontend. Is that the case, please confirm? 2) If you do the save in theme customizer you need to go to WPML > String translation and confirm translation of strings, as they are in status "need update". Can you check this string and make sure it is translated and the pencil icon is showing? Regards, |
April 7, 2025 at 1:06 pm #16904600 | |
bikbulatovaE |
Hi Dražen, |
April 7, 2025 at 1:12 pm #16904628 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, as I have said if you have saved theme customizer, and in there the strings are correct in default language, then you need to go to WPML > String translation and re-confirm translation of strings, as for WPML they have been updated, even if you have not changed anything, theme has resaved them in database. Please check and make sure they are translated. Regards, |
April 7, 2025 at 5:20 pm #16905542 | |
bikbulatovaE |
You dont get it. We had this discussion before with you. What I did: I want to: HOW TO DO THAT? |
April 8, 2025 at 7:21 am #16907065 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thanks for getting back. Let me have a look to understand and try to solve the issue for you, please share admin access to the safe box below. Make sure to have a backup just in case. Regards, |
April 9, 2025 at 6:23 am #16911443 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I checked and I can se you have a wrong string in Customizer, so you will first need to add the correct default language string and then translate it via WPML > String translation. On why, do you see translated string there instead of default language strings, that you added before there, it is probably the next issue so please follow the workaround from errata and apply it so you do not experience this issue anymore: - https://wpml.org/errata/admin-strings-replaced-by-translations-after-visiting-the-customizer/ After adding workaround, make sure to set the correct strings in customizer and then translate it. Regards, |
April 15, 2025 at 8:16 am #16932339 | |
bikbulatovaE |
This fix doesn't work What I did: I added it in the wpml string plugin code > go to customizer and update with original language (english) the content > refresh website front end to check the content. As a result: the content was replaced before with swedish language. Now it is replaced with Italian language. Each time I edit the content in the customizer, it is replaced by previously translated strings with a new random language. |
April 15, 2025 at 8:17 am #16932343 | |
bikbulatovaE |
As stated in here: https://wpml.org/errata/admin-strings-replaced-by-translations-after-visiting-the-customizer/ this workaround concerns admin strings only. I have no problem with admin strings. We only use english language on admin side. No translation of anything. |
April 15, 2025 at 8:25 am #16932357 | |
bikbulatovaE |
What it looks like on the wpml string translation page. |
April 15, 2025 at 9:33 am #16932799 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, Thanks for getting back, it could be affected by something else also. Admin strings are strings added via the admin panel/backend, which is what you have problems with. Anyway, please make sure you have added the code just in case. 1) Make sure to disable object cache from the cache plugin and if you are also using it from the hosting side. - hidden link 2) Enable XML-RPC - hidden link 3) Go to the theme customizer, add a few English strings and save, check if it works fine now. Let me know. Regards, |
April 15, 2025 at 9:51 am #16932960 | |
bikbulatovaE |
This is totally strange. I have done multiple tests with all possibilities. It worked for each case after updating a last time the text in french (configuration No.1). It's as if the theme customizer has been updated so many times that it has cycled through all available languages and returned to the default language: English. |
April 15, 2025 at 9:53 am #16932985 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, Thanks for the reply. As I understand it works fine now? If yes, then it most likely was related to object cache, it can sometimes cause weird issue with saving of translations etc, it best to keep it disabled while you translate/add content and then enable it back once done. Regards, |