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.

Tagged: 

This topic contains 11 replies, has 3 voices.

Last updated by Bobby 1 year, 11 months ago.

Assisted by: Bobby.

Author Posts
October 9, 2023 at 9:32 am #14537627

chrigiF

Hi,

Is it possible to remove the the warning message globaly?
Warning: "trying to edit a translation that is currently in the process"

We use WordPress editor for all translations and the message is very confusing for our clients.

Thanks for your help
Best Regards,
Chrigi

October 9, 2023 at 12:18 pm #14539479

Dražen
Supporter

Languages: English (English )

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

Hello Chrigi,

you can not mix translation methods, that is why this message appears.

If you want to use WordPress editor (manual method), you should cancel all on going jobs from WPML > Translation Management> Jobs, and then switch to use WordPress editor instead of WPML editor as explained in our docs, and the message will not appear again:

- https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Regards,
Drazen

October 9, 2023 at 1:49 pm #14540293

chrigiF

Hi Drazen

I tried it but it shows me following error:
This action does not apply to any of the selected translation jobs

First step with WPML is to change it to the WordPress Editor, already did that a long time ago. 😅

Best Regards,
Chrigi

October 10, 2023 at 6:23 am #14544621

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi Chrigi,

Unfortunately, there is no global feature to remove this warning, however, you can dismiss and finish working on the page with manual translation, then it should be removed the next time you work on the page as long as you have switched to the WordPress editor choice as mentioned by my colleague 🙂

Let me know your results, please.

October 10, 2023 at 6:27 am #14544703

chrigiF

Hi,

There is no option to dismiss the message. 😅

October 10, 2023 at 7:22 pm #14553513

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi,

are you referring to the warning in my screenshot or is it the banner-like warning at the top of the page?

Screen Shot 2023-10-10 at 12.21.56 PM.png
October 11, 2023 at 8:45 am #14556911

chrigiF

Hi,

No it's above the page name when editing a page.
And there is no option to hide it.

Additionally, we can't remove the banner via CSS either because there is a standard error "div" all around it.

wpml-warning-html.PNG
wpml-warning.PNG
October 12, 2023 at 5:55 am #14562645

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the screenshot!

Please review the following response by my colleague as well as the workaround shared

https://wpml.org/forums/topic/warning-you-are-trying-to-edit-a-translation-that-is-currently-being-added-by/page/2/#post-10012509

Let me know your results, please.

October 12, 2023 at 6:45 am #14562831

chrigiF

Thanks for the link.

It's a bugfix from 2021 and the folder no longer exists. 😅

October 12, 2023 at 5:40 pm #14567907

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

You are absolutely right, please try locating it here:

sitepress-multtilignual-cms\classes\notices\wpml-tm-post-edit-notices.php:L164

🙂

Let me know your results, please.

October 13, 2023 at 9:17 am #14571493

chrigiF

That worked!

But we have a bit too many websites to always adjust this manually.
Will the change make it into the next version this time? (Not as in 2021 😜)

October 13, 2023 at 9:44 pm #14575537

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Glad to hear that worked!

Our development team has an active ticket regarding this, and I also re-activated it bringing it back to the attention of our team with your recent case for consideration to add in future updates.

October 14, 2023 at 6:08 am #14576201

chrigiF

Okay - I hope it makes it into the next update.🤞

Thanks for the help! 😊