This thread is resolved. Here is a description of the problem and solution.
Problem: Translations do not automatically appear on the page after being modified unless the WP dashboard is visited. Solution: Our developers are still working on this bug. But we recommend the following workaround after performing a full site backup.
- Edit the file wp-content\plugins\sitepress-multilingual-cms\classes\filters\class-wpml-tm-translation-status-display.php line 431
- Replace
We have 2 issues on hidden link 1. If you amend a translation(the client has tested the homepage in French), then it doesn't automatically appear on the page. The updated translation appears only after I've visited the WP dashboard, and then navigated back to the page. How can we avoid the need to visit the WP dashboard?
All plugins except WPML switched off.
Theme changed to 2022
Switched homepage to /fr/
Edited the translation, pressed save, then got this error (see screenshot)
Checked server logs and ATE Error Logs and nothing recorded
Tried again with the translation and experienced the same - the updated version didn't display.
Thank you for the updates. A couple of requests for tracking this.
1) Please share the URLs of a couple of posts/pages you are trying to translate apart from the French homepage
2) Please fill the private details fields after a full site backup. I would like to access the admin area of your dev site for further checking. Refer to the following links for more details about our private information sharing policies.
Thank you for the details. I had a few rounds of testing on your staging site. Please check the attached images. Most of the post translations are in review mode, including the following one.
hidden link
So as part of testing, I created the following post and updated the translations(French & Serbian) a few times. It works fine for me.
hidden link
Therefore please check whether the issue exists while updating the translation of this post or not - hidden link
I tested by adding "hello" to the Serbian translation of the article you created - hidden link - but I can't see this yet.
I've since gone back to the WordPress dashboard, then back to the translated article and can now see "hello" added - as described in previous scenarios.
Can you explain more about "review mode" as we've selected the option in the settings where automatically translated content is set to "Publish right away but mark as not reviewed so I can take a look later"? Does that not include when content is manually translated in the ATE?
Thanks!
New threads created by Bigul and linked to this one are listed below:
I should clarify - the issue here is when a user assigned the role of Editor (not Admin) is translating.
I can see that if you're an Admin reviewing translations, then those are updating fine. It's when an Editor makes an update to the translation that we're having the issue where it's not updating immediately.
Essentially, the Editor is who will be reviewing translations, not an Admin. However, we don't want to grant Admin level access to those who will be reviewing translations.
Thank you for the details. I tested it again and just reproduced it for the Admin user also. Please check the following screencast for more details. We will debug it further and get back to you as early as possible. Please wait.
hidden link
Please note, that I have opened a new ticket for the Review Mode discussions. As per our support policies, we can only handle one issue per ticket. It will help us to serve you better and we can avoid discussing multiple problems in one ticket. Will get back to you soon on the latest ticket. Thank you for your understanding.