When I edit the translation for a page, the front end doesn't show the modified content but only the old content. Waiting (24h) doesn't help.
When I first had this problem I was using both WP-Optimize and a Redis cache, which I have now completely disabled.
Going to Elementor->Tools->"Regenerate CSS & Data" solves the problem but it is really painfull to go there after each and every translation change.
I also see other people having this issue in the WPML forums, without a clear solution. Do you know if there is a better way ? Could WPML changes automatically "invalidate" the Elementor cache ?
Thanks for your time and have a great day. - Dominique -
Welcome to WPML support. I'd be happy to help you with this.
So now, even with redis and WP-Optimize disable the problem is happening, can you just do a quick check with your server to see if they have an inbuild cache system enabled too?
Further, Have you tried disabling all non-WPML plugins, switching to one of the default themes, and checking whether the issue still persists or not?
Please remember to create a backup of your site (both files and the database) before making any updates or changes. This is always a good practice.
This sandbox web site is also used for another WPML ticket so I will wait a bit before testing again without any plugin.
As I need to regenerate Elementor CSS/Data in order to see my translation updates, I suspect that if I disable Elementor it might work (to be confirmed) but I'm sure oyu understand this won't be a good answer in the long run 😉
I have found a simple plugin named "Clear Cache For Me" that clears the Elementor Cache from a top bar button, so at the moment I am clicking there after any WPML change and that seems to work.
I still consider it a bug and somehow WPML<->Elementor should be able to talk to each other and regenerate the required data when necessary. As this happens after translations, I would imagine that it is WPML's responsibility to perform this action.
Anyway, I'll come back to this ticket with some addition info asap.
I juste disabled all the plugins, except those 6:
- Elementor
- Elementor Pro
- Redirection (I need it to redirect / to /en)
- WPML Export and Import
- WPML Multilingual CMS
- WPML String Translation
Problem remains. I have the authenticated backend on one browser, and the live site on another browser. If I edit a translation, save it and hit CTRL-F5 on the live browser, the translated page doesn't get updated.
The only way to see the updated translation is to either regenerate Elementor CSS & Data, or reinstall and use the "Clear Cache For Me" after each edit.
To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.
So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply. hidden link
I am able to replicate the issue, I am consulting about this issue with our 2nd tier supporters, I will update you as soon as I will receive any further feedback from them.