[Waiting for user feedback] Impreza theme translations
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.
WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Background of the issue:
I am trying to translate original English pages into other languages, specifically Italian. I create the English page using the live editor, publish it, then duplicate it in the WPML box with the WordPress editor tab active because I need different designs for some pages, I'm doing this for all content and i never mixed ATE and wordpress translation method. All WordPress, theme, and plugins are at the latest version, and all minimum requirements are met. Link to a page where the issue can be seen: hidden link
This is happening also on other domain with same enviroment.
Symptoms:
The original English pages are fine, but some Italian translated pages revert back to English after hours or days. This happens only on some pages, and they revert back to the original content when I log into WordPress. In the revisions, I can see the italian translated content from yesterday, but it has been overwritten with the original English content with this morning login.
Questions:
Why do some Italian translated pages revert back to English after a period of time? How can i fix?
That could be expected if you have not switched to WordPress editor like explained in our docs, so every time you update the default language it will overwrite changes done manually to 2nd language.
Please check our guide and make sure you have made the switch:
Hi, that's the workflow i followed. I switched to wordpress editor translating the first page and in the popup i selected all the sites's content, duplicating and translating independently every page, post template and so on. And i didnt' update any page, some of them reverted to original content when i logged in wordpress the next day, i just logged in and translations were overwritten.
It should not happen by itself, probably something or somebody updated the default language page.
Can you confirm this is the problem, by re-adding some content on 2nd language page that has issue, saving. Then re-save your default language page and check if the issue still happens.
I’m the only user, so no updates are made by others.
I can’t confirm the issue because when I try your workflow, the page translation works fine. Yesterday, I reverted a problematic page to the previous revision with Italian translations, and today it’s still in Italian.
I can’t reproduce the bug consistently; it only happens randomly on some pages and not immediately. In this case, it occurred the next day when I logged into WordPress. Homepage and two other pages reverted at 9:27 AM, as shown in the page revisions, but I didn’t edit them.
This issue also occurred on another domain with the same website. Some page translations were overwritten by the original content on their own. Initially, I thought the problem was caused by a mix of the WordPress editor and WPML ATE. So, I started from scratch, avoiding mixing editors and using a new database (no import), but I can see the issue is still happening.
It is difficult for us to know what is the issue or what goes wrong if there are no steps or if it happens randomly. I tried my best to suggest what I thought was causing the issue.
In your case, the best would be to create a staging site, install the Activity Log plugin, and try to see how the issue happens, or what causes it. Maybe even check your hosting SQL logs, to see what has initiated the rewrite.
When you have steps on how the issue happens or what triggers it, let us know/share a video and we will be glad to help, because for now not much I can suggest if the issue happened randomly. I will keep the ticket open for 2 weeks so you can get back to us.