Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to update your translation after modifying an article, but the WPML Editor does not show the changed elements.
Solution:
We recommend clearing the WPML cache to resolve this issue. Here's how you can do it:
1. Navigate to WPML -> Support -> Troubleshooting functions.
2. Use the option to clear the WPML cache.
3. Make a minor edit to the post in the default language and then try to translate it again.
If the WPML Editor still does not reflect the changes, it might be due to an outdated solution or a different issue. 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 the problem persists, please open a new support ticket at our 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: 

This topic contains 6 replies, has 1 voice.

Last updated by alexandreR-30 2 days, 10 hours ago.

Assisted by: Osama Mersal.

Author Posts
January 21, 2025 at 11:56 am #16618184

alexandreR-30

Background of the issue:
I am trying to update my translation after changing the article, but the WPML Editor doesn't show the changed elements. You can see the issue on this page: hidden link

Symptoms:
The WPML Editor doesn't update after article modification, and it doesn't show the changed elements.

Questions:
Why doesn't the WPML Editor show the changed elements after I modify an article?
How can I ensure that the WPML Editor updates correctly after making changes to an article?

January 22, 2025 at 8:16 am #16621402

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support. Meanwhile this ticket is attended by one of my colleagues, can you please try the following?

- Go to the Articles, in default language.
- Switch to a secondary language from the top admin bar.
- Remove the article's translation.
- Remove it from Trash also.
- Repeat this for all secondary languages.
- Switch back to the default language.
- Translate the article again.

Since you've translated these already, you should see most of it translated in the editor, along with any new changes you made. Complete the translation, clear all caches and check again.

If issue still remains the same, then, when you're in the translation editor, try to switch to the previous version of the editor. Look for a gear icon in top-right, click it to open settings and switch on the previous version of editor.

And see that if it brings up any new content (i.e. your changes)? If yes, please complete the translation and check again.

Please let us know your findings and we'll try our best to help you further on the matter.

Regards.

January 22, 2025 at 8:44 am #16621531

alexandreR-30

Hi,

I followed the steps you mentioned and when I tried to translate the article again, it didn't bring me to the WPML editor but to create a new article.

January 22, 2025 at 12:37 pm #16622901

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.

Please make sure that the WPML Editor is selected in the language side panel. (Kindly check the attached screenshot)

Best regards,
Osama

2025-01-22_14-33-24.png
January 22, 2025 at 12:53 pm #16622968

alexandreR-30

Hi,

I don't know why this setting was changed as it was supposed to be activated.

However, after activation, when I want to use the translation editor I get this:
There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.

I tried opening other translation and it works. Only this article seems to have an issue. First not to update the content and now not to open the translation editor

January 22, 2025 at 12:57 pm #16623043

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. Please provide the WordPress debug.log; this will allow us to see if any PHP errors are being produced.

More Info: https://wordpress.org/support/article/debugging-in-wordpress/

To enable it, open your wp-config.php file and look for the following line:

define('WP_DEBUG', false);

And change it to:

define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings, which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

Then, try to reproduce the issue and check if any errors were saved to the debug.log log file inside the /wp-content/ directory.

It would be great if you could paste your debug.log to https://pastebin.com/ and provide me with that link.

Best regards,
OSama

January 22, 2025 at 1:04 pm #16623058

alexandreR-30

Done,

I paste the error log content to pastebin.com
https://pastebin.com/JiGg9AkB

January 22, 2025 at 1:06 pm #16623119

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the log. 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.

Best regards,
Osama

January 22, 2025 at 1:12 pm #16623166

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Could you please disable the 2-FA for the provided account?

Thanks,

January 22, 2025 at 1:13 pm #16623170

alexandreR-30

It is OFF now

January 22, 2025 at 1:25 pm #16623183

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I cleared the WPML cache via WPML-> Support-> Troubleshooting functions.

After that, I made a minor edit to the post in the default language and tried to translate it. (Kindly check the attached screenshot)

Please try to translate the post and let me know if the editor works correctly.

Best regards,
Osama

2025-01-22_15-23-14.png
January 22, 2025 at 1:28 pm #16623243

alexandreR-30

Perfect, it is working now.

Thanks for your help.