Skip Navigation

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
- 9:00 – 13:00 5:00 – 13:00 5:00 – 13:00 5:00 – 13:00 5:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Tagged: 

This topic contains 3 replies, has 1 voice.

Last updated by Otto 5 days, 22 hours ago.

Assisted by: Otto.

Author Posts
May 6, 2025 at 1:52 pm #17002125

HANS

Background of the issue:
I am trying to address an issue where translations are sometimes overridden with content from the original language. This issue occurred once immediately after restoring a revision. We noticed that some Gutenberg blocks have the "translatedWithWPMLTM" attribute added when this happens.

Symptoms:
Translations are overridden by original language content, and this issue is associated with the "translatedWithWPMLTM" attribute in some Gutenberg blocks. The issue is not consistently reproducible.

Questions:
Why are translations being overridden by the original language content?
What causes the "translatedWithWPMLTM" attribute to be added to Gutenberg blocks?

May 6, 2025 at 3:40 pm #17002701

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Can you check this?
https://wpml.org/errata/editing-translated-posts-directly-can-result-in-lost-content/

Does any of these scenarios match your workflow?

May 7, 2025 at 8:07 am #17004851

HANS

These scenarios don't exactly match our workflow.
Although I think our problem may have to do with users editing translated posts directly via the WordPress editor and not the translation editor.

One circumstance, which I think often leads to this problem, is that the link in the post/page list view (the title of the post and the link marked "Edit") always links to the WordPress editor, even though the language chosen in the admin bar is not the original language for the post.
How is the user supposed to know which link to click in the list view, without falling into the trap, that the translated posts' post_content is edited directly and later the translation editor overrides it?

May 7, 2025 at 2:33 pm #17007160

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Yes, that should be the root cause of the problem. Mixing editors is not recommended.

When you open a translated page this way:

... the link in the post/page list view (the title of the post and the link marked "Edit") always links to the WordPress editor, even though the language chosen in the admin bar is not the original language for the post.

there is a warning message. Does it appear on your site?

Best Regards,
Otto