Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is encountering a message on some pages indicating that something might be broken when in fact they are just working on their pages.
Solution:
We explained that the eye icon means the content has been translated and is awaiting review. We advised the client to review the translation first and make any necessary corrections. For guidance on reviewing translations, we provided a link to our documentation: How to review automatic translations on your site, and for understanding different icons: Translation Icons.

We also acknowledged that the message is a false-positive and provided a temporary workaround until a permanent fix is released in future versions of WPML:

1) Access the file

wp-content/plugins/sitepress-multilingual-cms/classes/notices/wpml-tm-post-edit-notices.php

using an FTP program, and locate line 164.
2) Replace the existing code with the following:

}elseif ( $this->is_waiting_for_a_translation( (int) $this->post_status->get_status( $post_id, $trid, $lang ) ) && (WPML_TM_Post_Edit_TM_Editor_Mode::is_using_tm_editor( $this->sitepress, $post_id )) ) {

We reminded the client to back up their site before making any changes and offered further assistance if needed.

Please note that this solution might be irrelevant due to being outdated or not applicable to your case. We highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us: WPML Support Forum.

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.

This topic contains 28 replies, has 2 voices.

Last updated by Andrey 12 months ago.

Assisted by: Andrey.

Author Posts
January 29, 2024 at 3:04 pm #15239270

pascalB-45

Hi Andrey, a lot of Jobs are «Completed - Needs Update». I think this is coming from them. I try to cancel them but its not possible in the backend. Do i need to update every post manually?
How is this happening?

January 29, 2024 at 7:31 pm #15240356

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I think you or someone else started translating with the WPML translation editor, deactivated it, and kept translating with the WP editor.

I see those pages assigned to the admin translator. Are you logged in and tried to cancel them under admin?

January 29, 2024 at 9:08 pm #15240819

pascalB-45

Yes, im logged in as an admin. And i get the message i send you in the printscreen when i try to cancel an admin job.

cancel-jobs-not-working.jpg
January 30, 2024 at 9:20 am #15242210

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you for your feedback. I will check this and let you know.

January 30, 2024 at 12:12 pm #15243235

pascalB-45

Thanks!

January 31, 2024 at 1:06 pm #15249415

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I want to update you that I am checking this with the team.

January 31, 2024 at 1:15 pm #15249453

pascalB-45

Thanks for letting me know!

February 1, 2024 at 10:13 am #15253856

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I want to ask you about the possibility of replicating your site locally. For this, I'll need to temporarily install a "Duplicator" plugin on your site. This will allow me to create a copy of your site and your content. If you prefer to do it independently, you can provide me with the snapshot and send me the installer file and the zipped package you downloaded.

Let me know how you feel about this.

February 1, 2024 at 10:16 am #15253908

pascalB-45

Sure, thank you so much!

February 1, 2024 at 10:32 am #15254157

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you, Pascal. I have reported it to the team. I will keep you posted.

February 1, 2024 at 11:29 am #15254523

pascalB-45

Thank you so much for having a look at this!

February 2, 2024 at 9:55 am #15258424

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I appreciate your patience. Our team has confirmed that the message is a false-positive. It has been escalated to the development team and will be addressed in future versions of WPML. For now, please try the following temporary workaround:

1) Using FTP program go to: wp-content/plugins/sitepress-multilingual-cms/classes/notices/wpml-tm-post-edit-notices.php, line 164

2) Change

			}elseif ( $this->is_waiting_for_a_translation( (int) $this->post_status->get_status( $post_id, $trid, $lang ) ) ) {

to

			}elseif ( $this->is_waiting_for_a_translation( (int) $this->post_status->get_status( $post_id, $trid, $lang ) ) && (WPML_TM_Post_Edit_TM_Editor_Mode::is_using_tm_editor( $this->sitepress, $post_id )) ) {

Please backup your site before making any changes.

Let me know if you need help with this.

February 2, 2024 at 1:54 pm #15259583

pascalB-45

Hey Andrey!

Thank you so much, that really helped! The messages are away. Im happy and my client is happy. Thank you so much for taking this seriously and for all your time you took into that!

Thank you so much and have a nice day!
Pascal

February 2, 2024 at 2:04 pm #15259624

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you, Pascal. I am happy that everyone is happy 🙂 Have a nice weekend ahead!