Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

Tagged: 

This topic contains 35 replies, has 0 voices.

Last updated by Shekhar Bhandari 3 weeks, 3 days ago.

Assisted by: Shekhar Bhandari.

Author Posts
June 2, 2025 at 5:36 am #17096300

kelvinV

Background of the issue:
I am trying to automatically publish or schedule translated posts using WPML. You can see the issue on this page: hidden link

I am fully using the WP editor to translate and publish posts (no ATE). I did NOT edit/modify the post myself. The overwritten translation happened 2 days after publication of the translated post without any intervention.

Symptoms:
The translation gets overwritten by the original language. I expected to see a Dutch version of the article, but instead, I got the English version.

Questions:
Why is the translation being overwritten by the original language?
How can I ensure the Dutch version of the article is displayed instead of the English version?

June 2, 2025 at 6:23 am #17096361

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I have enabled the private reply for you, so when you have the access details please share it with me.

Thanks

June 2, 2025 at 11:20 am #17097646

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Can you provide me few pages examples where I can see the issue?

Look forward to your reply.

Thanks

June 2, 2025 at 11:36 am #17097709

kelvinV

Hi Shekhar

The issue was visible on hidden link, but since this our production website and visible to a lot of readers we fixed it immediately after noticing the issue. I ran our custom checks script again and currently there are no issues. But I hope with all the information I gave you in the chat, and the chat I had with your colleague last week about this same issue, and the ticket I opened 2 months ago about the same issue, you can still do some troubleshooting in the meantime. I'm sure that the issue will pop up soon enough, though.

Kind regards
Kelvin

June 2, 2025 at 12:29 pm #17097847

kelvinV

On the staging website I setup during our chat, you can still find the issue here:

hidden link

June 3, 2025 at 4:09 am #17099862

kelvinV

The issue reappeared on our production website, but this time for these links:

- hidden link
- hidden link

This is unsustainable for us.

June 3, 2025 at 5:09 am #17099920

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Can you provide me ftp details for the staging site too, also, I suggest you to install wp-control plugin on the live site, this will help us track if there was any cron jobs run before the post is updated.

You can edit the previous private reply to send the ftp details.

Look forward to your reply.

Thanks

June 3, 2025 at 6:20 am #17100045

kelvinV

Hi Shekhar

I have installed the WP Crontol plugin. Is that the one you meant? I couldn't find "wp-control" but this one seems to do the trick.

Regarding the FTP credentials, I can't seem to edit the previous reply (the page keeps refreshing without opening the reply). I have them ready for you, so if you could make my next reply private again then I will share them.

Thank you for your investigation!

Kelvin

June 3, 2025 at 6:59 am #17100179

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Indeed, that is the plugin. It displays the cron jobs that have executed on the websites.

Enabled the private reply.

Thanks

June 4, 2025 at 9:45 am #17105624

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I am monitoring the staging site for two posts:
hidden link
hidden link

and until today I don't see any issues. I will keep monitoring. If possible can you help me by checking if the problem still exists on the staging site.

Thanks

June 4, 2025 at 10:25 am #17105818

kelvinV

Hi Shekhar

Thank you for monitoring this. I've been monitoring as well.

Currently the only post on the staging website that has been affected by the overwriting issue is this one:

hidden link

That being said, I suspect the automatic scheduling and publishing of posts to be the main issue... And since our staging website doesn't attract any visitors, the cronjobs to publish the scheduled posts don't get triggered. Because of this, it seems rather difficult to troubleshoot/monitor this easily. I've installed a plugin "Missed Schedule Post Publisher" but I don't know whether it's working as the post of today and yesterday missed their schedule. If you have any other ideas to "mimic" the scheduling and publishing of posts, feel free to look into it. We currently have daily schedules running for NL translations of already published EN posts until end of June I think, so enough days for the issue to pop up again (if we get the scheduling+publishing to work).

Thank you
Kelvin

June 5, 2025 at 4:25 am #17108448

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello 🙂

Thank you for the details. It looks like it's happening due to scheduling, I was able to reproduce the issue once. Then I tried on my local instance and couldn't reproduce it there, so this is something site specific.

Right now on the staging, the scheduling posts itself isn't working to confirm, being so, I would need the following from you:

- Permission to disable everything on staging site to test this further.
- Also, can you disable the server cache for this server

Look forward to your reply.

Thanks

June 5, 2025 at 4:50 am #17108497

kelvinV

Hi there!

Thank you for looking into this and being able to pinpoint the issue at least once. Glad to finally hear confirmation that it happens without any manual action!

I give you permission to change/disable anything you like. Also, I've disabled caching in Siteground and in the speed optimizer plugin from Siteground.

Thank you!
Kelvin

June 5, 2025 at 9:45 am #17109388

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hi there,

Can you please check WPML->Settings-> Posts and pages synchronization and enable the Copy publishing date to translations? This should fix the issue.

I tried this on the dev site and it worked for me.

Unfortunately, on a test site, this isn’t happening even when the options are unchecked. This could be a combination of server cache and scheduling, which we can test later. For now, let’s see if the above fixes the issue.

Looking forward to your reply.

Thanks

June 5, 2025 at 9:56 am #17109427

kelvinV

Hi Shekhar

Thanks for the update. I've gone ahead and enabled that setting. I will monitor the production website the coming days! Thank you already for your hard work. Also, caching on the production website is already off, too, for as long as we had this issue (we don't want caching to make things more complex).

Just a question, by enabling this setting, what happens in the following scenarios?

1. original post already exists from back in 2024, translation (via the WP editor) gets scheduled and published in 2025. Does the translation get the 2024 date?
2. original and translation are already published, with different dates (usually original date longer ago than translation). Does the translation now get the "older" date?
3. original and translation scheduled and published on the same day -> same day I assume?
4. original scheduled for June 2025, with the translation scheduled for July 2025. Translation gets the June date?

Thank you!
Kelvin

The topic ‘[Closed] Translation gets overwritten by original language’ is closed to new replies.