Skip Navigation

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

Problem:
Translations do not automatically appear on the page after being modified unless the WP dashboard is visited.
Solution:
Our developers are still working on this bug. But we recommend the following workaround after performing a full site backup.

- Edit the file wp-content\plugins\sitepress-multilingual-cms\classes\filters\class-wpml-tm-translation-status-display.php line 431
- Replace

	if ( ! isset( $_SERVER['HTTP_REFERER'] ) ) {
					return null;
				}

				$url = remove_query_arg( $args, $_SERVER['HTTP_REFERER'] );

with

$url = remove_query_arg( $args, admin_url('admin.php?page='. WPML_TM_FOLDER . '/menu/translations-queue.php') );

If this solution does not seem relevant to your situation, please open a new support ticket here.

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 7 replies, has 2 voices.

Last updated by Bigul 1 year, 6 months ago.

Assisted by: Bigul.

Author Posts
November 22, 2023 at 2:04 pm #14898855

gregM-13

Hi there,

We have 2 issues on hidden link 1. If you amend a translation(the client has tested the homepage in French), then it doesn't automatically appear on the page. The updated translation appears only after I've visited the WP dashboard, and then navigated back to the page. How can we avoid the need to visit the WP dashboard?

November 22, 2023 at 4:16 pm #14900809

gregM-13

All plugins except WPML switched off.
Theme changed to 2022
Switched homepage to /fr/
Edited the translation, pressed save, then got this error (see screenshot)
Checked server logs and ATE Error Logs and nothing recorded

Tried again with the translation and experienced the same - the updated version didn't display.

image (1).png
November 23, 2023 at 6:29 am #14903731

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. A couple of requests for tracking this.

1) Please share the URLs of a couple of posts/pages you are trying to translate apart from the French homepage

2) Please fill the private details fields after a full site backup. I would like to access the admin area of your dev site for further checking. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

November 24, 2023 at 8:37 am #14914043

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the details. I had a few rounds of testing on your staging site. Please check the attached images. Most of the post translations are in review mode, including the following one.

hidden link

So as part of testing, I created the following post and updated the translations(French & Serbian) a few times. It works fine for me.

hidden link

Therefore please check whether the issue exists while updating the translation of this post or not - hidden link

--
Thanks!

Bigul

2023-11-24_14-01-46.png
2023-11-24_13-40-39.png
November 25, 2023 at 4:43 pm #14922865
gregM-13

Hello,

Thanks for taking a look.

I tested by adding "hello" to the Serbian translation of the article you created - hidden link - but I can't see this yet.

I've since gone back to the WordPress dashboard, then back to the translated article and can now see "hello" added - as described in previous scenarios.

Can you explain more about "review mode" as we've selected the option in the settings where automatically translated content is set to "Publish right away but mark as not reviewed so I can take a look later"? Does that not include when content is manually translated in the ATE?

Thanks!

New threads created by Bigul and linked to this one are listed below:

https://wpml.org/forums/topic/review-mode/

November 27, 2023 at 12:07 pm #14929619

gregM-13

I should clarify - the issue here is when a user assigned the role of Editor (not Admin) is translating.

I can see that if you're an Admin reviewing translations, then those are updating fine. It's when an Editor makes an update to the translation that we're having the issue where it's not updating immediately.

Essentially, the Editor is who will be reviewing translations, not an Admin. However, we don't want to grant Admin level access to those who will be reviewing translations.

November 27, 2023 at 12:29 pm #14929745

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the details. I tested it again and just reproduced it for the Admin user also. Please check the following screencast for more details. We will debug it further and get back to you as early as possible. Please wait.

hidden link

Please note, that I have opened a new ticket for the Review Mode discussions. As per our support policies, we can only handle one issue per ticket. It will help us to serve you better and we can avoid discussing multiple problems in one ticket. Will get back to you soon on the latest ticket. Thank you for your understanding.

--
Thanks!

Bigul

December 4, 2023 at 8:51 am #14983285

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

We are still working on this issue. It looks like this ticket is related to the following one.

https://wpml.org/forums/topic/issue-with-links-changing-automatically/

So one request, please try workaround suggested here after a full site backup{mandatory} and make sure the problem exists or not - https://wpml.org/forums/topic/issue-with-links-changing-automatically/page/2/#post-13184947

--
Thanks!

Bigul