Resolved by author
Reported for: WPML String Translation 3.2.0
Overview of the issue
When you use WP-Optimize for caching and update a previously-translated string, logged-out users aren’t able to see the change immediately. They will need to manually clear their cache to detect the changes.
Workaround
Please be sure to make a full backup of your site before proceeding.
- Open your theme’s functions.php file.
- Add the following code:
add_action( 'wpml_st_add_string_translation', function() { if ( class_exists( 'WPO_Page_Cache' ) ) { ( new WPO_Page_Cache )->purge(); } });
I have the exact same issue, but I use Site Ground optimiser plugin for caching.
Hey there,
We don’t have similar reports with SiteGround so far, however this link may help.
If it does not, please open a ticket in our support forum so we can investigate better.
Regards
This solution is not ideal, since my translators do not have access to the Purge Cache functionality. Only admins have this available. Please fix this as soon as possible, thank you.