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

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 6 replies, has 2 voices.

Last updated by Prosenjit Barman 2 months, 3 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
October 2, 2024 at 5:09 pm #16246907

alinaM-7

Background of the issue:
We have a site with automatically translated Spanish content. We are now spot-checking the Spanish and making a few manual edits in the translation editor.

Symptoms:
Small manual text edits are taking anywhere from 2-10 minutes to show up on the front end, even though I can see they are saved in the back end. After making a translation edit in the Advanced Translation editor and clicking 'Complete Translation', the site redirects to a page in my recent history, but NOT the page I was just editing.

Questions:
Is it normal for small manual text edits to take 2-10 minutes to show up on the front end?
Is it expected for the site to redirect to another page in my history after clicking 'Complete Translation' in the Advanced Translation editor?
Are you able to take a look at our configuration or are there any known issues?

October 2, 2024 at 5:12 pm #16246969

alinaM-7

Adding a little more detail. Sometimes the Advanced Translation Editor appears to get stuck and the "Complete Translation" button keeps animating indefinitely. At that time, in the Console I can see this error:

Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
at application-7d03af4f2d5fa2f745580e64e6a43306d45a0f663eda1494a66fa4438938a80d.js:65:5321
at r (application-7d03af4f2d5fa2f745580e64e6a43306d45a0f663eda1494a66fa4438938a80d.js:18:20499)
at Generator._invoke (application-7d03af4f2d5fa2f745580e64e6a43306d45a0f663eda1494a66fa4438938a80d.js:18:20287)
at Generator.next (application-7d03af4f2d5fa2f745580e64e6a43306d45a0f663eda1494a66fa4438938a80d.js:18:20679)
at on (application-7d03af4f2d5fa2f745580e64e6a43306d45a0f663eda1494a66fa4438938a80d.js:55:28173)
at i (application-7d03af4f2d5fa2f745580e64e6a43306d45a0f663eda1494a66fa4438938a80d.js:55:28359)
at application-7d03af4f2d5fa2f745580e64e6a43306d45a0f663eda1494a66fa4438938a80d.js:55:28439
at new Promise (<anonymous>)
at Object.<anonymous> (application-7d03af4f2d5fa2f745580e64e6a43306d45a0f663eda1494a66fa4438938a80d.js:55:28319)
at Object.completedUrl (application-7d03af4f2d5fa2f745580e64e6a43306d45a0f663eda1494a66fa4438938a80d.js:65:5642)

October 3, 2024 at 5:35 am #16247870

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're experiencing. Typically, translating a segment or completing an entire translation shouldn't take much time. However, factors such as content size and server configuration can cause delays. That said, based on your site’s configuration and the information in our system, there shouldn't be any issues with the translation editor. Could you please try the following steps and see if they make any difference in the result?

1. Please go to Settings > General from your Dashboard and ensure that the site URL and WordPress URL are configured correctly. Both should point to the main domain.
2. Go to "Settings > Permalinks" and resave the permalink structure.
3. Navigate to "WPML > Support > Troubleshooting".
4. Scroll down and click on the following buttons:

- Clear WPML cache
- Remove ghost entries from translation tables
- Fix element_type collation
- Fix WPML tables collation
- Synchronize local job IDs with ATE jobs
- Synchronize translators and translation managers with ATE
- Set language information

5. Once you've completed these steps, clear the cache from both your site and browser. Then, try to translate a page and see if you're still having the issues.

Let me know how it goes. I'll be happy to help if you need further assistance in this matter.

Best regards.
Prosenjit

October 3, 2024 at 4:52 pm #16251526

alinaM-7

Thanks for your reply Prosenjit,

I went through these troubleshooting steps, but both problems are still happening. Could you take another look? Please let me know if you'd like admin access.

best.
Mary-Jo

October 4, 2024 at 4:11 am #16252298

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Mary-Jo
Thank you for the update.

This type of issue or console error typically occurs when a translation job is initiated on a different domain or configuration than the current one. According to our records, it seems you've migrated your site from "edcapnyorgstg.wpenginepowered.com" to your main domain. It's possible that the translation jobs were started on the staging domain, and now, when attempting to complete them on your main domain, you're experiencing delays.

Could you please make a small update to the default page or create a new page, then try translating it as outlined below and check if the issue persists?

- Please go to WPML -> Translation Management -> Select the page -> Send for translation -> Translate myself -> Go to Translation queue -> Take and translate.

As a side note, I'd like to inform you that we are aware of an issue that occurs when editing translations from the front end. After completing the translation, the page may redirect to a different URL. For more information, please refer to this errata: https://wpml.org/errata/wpml-incomplete-ate-translation-from-front-end-translation-link/

Since you're experiencing a similar issue (being redirected to another page after completing the translation), you can try the workaround mentioned in the errata.

Please let me know the update. I'll be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

October 4, 2024 at 4:26 pm #16255368

alinaM-7

Thanks Prosenjit.

I created a new test Page as you described. Unfortunately, the ATE gets stuck and I'm still getting the same console error when I translate manually and hit the Complete Translation button. I'm adding a screenshot of what I'm seeing.

I haven't tried the URL redirect solution yet, but this other issue is more critical.

best.

Mary-Jo

Screenshot 2024-10-04 at 12.24.12 PM.png
October 7, 2024 at 4:05 am #16258870

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

Thank you for trying out the suggestions. As the issue persists, a closer inspection will be required to understand the root cause of the issue.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

The topic ‘[Closed] Delays and redirects when using Advanced Translation Editor / Front-end Review’ is closed to new replies.