This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is trying to use automatic translation for various pages and posts on their website. They encountered an issue where a page translated 100% in the Advanced Translation Editor was not fully appearing on the live site. Additionally, the automatic translation status was stuck on 'Refreshing translation status' and the WPML admin bar showed 'Automatic translation status 0 / 2, 0%, less than 1 min remaining' for an extended period.
Solution:
1. We identified that the Website ID used by the Advanced Translation Editor (ATE) to process translations was different from the one registered on the ATE server. We updated the website with the correct ID, which allowed the translation to be processed immediately by ATE and the translation started to appear correctly on the frontend.
2. For a post that was stuck in an 'in-progress' state, we changed the translation method by accessing the post, clicking on the Gear icon, and selecting manual translation. This refreshed the translation method and resolved the issue.
If this solution does not seem relevant to your situation, please open a new support ticket with us.
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 18 replies, has 2 voices.
Last updated by Prosenjit Barman 1 year, 6 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
December 21, 2023 at 11:26 am #15109351 | |
Ivan Beemster |
Tell us what you are trying to do? Is there any documentation that you are following? Is there a similar example that we can see? Notably, the status icon in the wp admin bar has been showing 'Automatic translation status 0 / 2, 0%, less than 1 min remaining' for about a day, which doesn't seem right. What is the link to your site? |
December 22, 2023 at 11:53 am #15116823 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, I understand the issue you're having and will try my best to assist you in this matter. From our translation management system, I can see that the particular translation job is completed, but not delivered yet. Which is why, the translations aren't showing correctly. Could you please follow the instructions mentioned in the guide below and see if it helps to solve the stuck issue? If the problem persists, navigate to "WPML > Support > Advanced Translation Editor → Error log", and take a full screenshot of that page in your next response. I'll review it and advise you on the next steps. Looking forward to your response. Best regards, |
December 22, 2023 at 3:20 pm #15119431 | |
Ivan Beemster |
Hello Prosenjit, I cancelled the job under Translation Management, changed title and did the translation again, but the job seems to be stuck again (Automatic translation status 0 / 1; 0%, less than 1 min remaining). Can I find the Advanced Translation Editor → Error log somewhere on the server or database? It is too big for a screenshot or copy/paste to excel.. Thanks, |
December 26, 2023 at 7:52 am #15128355 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Ivan, Thank you for the information provided. Regrettably, the ATE error log is not stored within the site directory. However, you can capture a full-screen screenshot showing the most recent errors, ensuring that all columns are fully visible. It will be enough! In the next response, please also share the link to the post that you're trying to translate. I will check and try my best to solve the issue for you. Looking forward to your response and wishing you a Merry Christmas! Best regards, |
January 3, 2024 at 1:15 pm #15146714 | |
Ivan Beemster |
Hello Prosenjit, happy new year first of all! See attached the screenshot with the first portion of the error log. Nb the extra data for the third error (ATE Server Communication) is an extremely long list of IDs extending well beyond the screenshot. An example of a post I try t translate but doesn't appear in full is the one I mentioned earlier, hidden link. Keep me posted, thanks! |
January 4, 2024 at 6:17 am #15149196 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Ivan, The most recent error in the Log indicates the "Active Record not Found" error, which mostly appears due to not configuring the "First Name" and "Last Name" for the Profile. Could you please ensure that the First name and Last name are added properly to your Profile(Users > Profile)? If you have a Translator, ensure that the profile of the Translator is also updated with the First name and last name. In the Error log, I also noticed "Bad Gateway" error, which suggests that WPML access to your site is blocked by firewall. If firewall is configured in Server level, please reach out to your hosting administrator and ask them to whitelist the following domains: wpml.org After making the adjustments above, please make a small change in the default page/post, save the changes and resend the contents for translation. I hope it will help to solve the issue. Please let me know the update. I will be happy to help if you need further assistance in this matter. Best regards and wishing you a happy new year! |
January 4, 2024 at 9:04 am #15149613 | |
Ivan Beemster |
Hi Prosenjit, First and last name for the two translators are added, but perhaps we've done that sometime after the error date. About the domains: no domains are blocked on the server. Also, the ip addresses related to any of the domains you mention are currently blacklisted. Thanks, |
January 5, 2024 at 4:12 am #15153192 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Ivan, Please be informed that there are no specific ports are being used and that all connections are served over HTTPS. Regarding the IP whitelisting, unfortunately, we cannot provide a static IP address as our system employs dynamic IPs that frequently change. To proceed, please request your hosting administrator to whitelist the domains associated with our service. This is crucial for ensuring uninterrupted communication between our systems. Once the domains are whitelisted, kindly navigate to your WordPress Dashboard, then to WPML > Support. At the bottom of the page, you will find the "Installer Support" section. Please check to ensure that all items listed there are marked in green and display no errors. Following that, make a small change in the default post and proceed to update its translation. If the issue persists even after that, 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 Looking forward to your response. Best Regards, |
January 8, 2024 at 5:07 am #15158111 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Ivan, I thoroughly have checked and it's clear that your WPML configuration is functioning correctly. However, it seems the issue arises after completing the translation using ATE. While ATE successfully performs the translation, but encounters a problem when transferring the translated content back to your site. This interruption seems to be due to a blocked connection, resulting in the translations not being processed correctly and not displaying as expected on the frontend. While checking, I also noticed that the Cloudflare DNS and CDN are in use on your site. If the Cloudflare WAF is active, could you please confirm that the domains I previously mentioned have been added to the whitelist? wpml.org Simply choose the hostname, input the domain names, and ensure to skip the firewall for these domains. For further information, you can refer to the guide provided below. - hidden link Please also whitelisted the domains in the security plugin that you're using. Once done, please wait for some time and then try to translate the page again. I hope it will help. Please let me know the update. I will be happy to help if you need further assistance in this matter. Best regards, |
January 8, 2024 at 12:41 pm #15160412 | |
Ivan Beemster |
Hi Prosenjit, I added the rule below in Cloudflare and temporarily disabled Solid Security Basic, but no luck, the automatic translation status remains "0%, less than 1 min remaining", also after a minor change on a translation. Let me know how to proceed, thanks, |
January 9, 2024 at 5:20 am #15162990 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Ivan, After thoroughly examining all available solutions, it seems there is an issue while processing the translation. The translations are not processed correctly, even when using the default editor for content addition. This indicates a potential blockage within the site's infrastructure. I have created a replica of your website to conduct a more comprehensive analysis, which I will deploy in my development environment. If required, I will escalate this issue to our second-tier support team for further detailed investigation. Rest assured, you will be promptly informed of any developments or updates. I appreciate your patience and kind cooperation in this matter. Best regards, |
January 10, 2024 at 4:11 am #15167133 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi Ivan, Upon taking a closer look, I found that the Website ID(that is used by ATE to process translation) on your site and the one registered in the ATE server are different. This is why, your site kept getting blocked in ATE and as a result, the translation wasn't processing properly. After updating your website with the correct ID, the translation was processed immediately by ATE and the translation started to appear correctly in the frontend. Please check this screenshot for a better understanding: hidden link Please check and let me know if there is anything else you need help with. I will be happy to assist. Best regards, |
January 10, 2024 at 7:54 am #15167404 | |
Ivan Beemster |
Hi Prosenjit, Thanks, great job finding that out! Was that a bug, or something I misconfigured? I noticed there still is a job pending, see attachment. Is there somehow we can clean this up? Ivan |
January 11, 2024 at 3:46 am #15172134 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Ivan, Please note that the change in the site ID is not a bug. Such change can occur as a result of resetting WPML or deleting the WPML database. In your specific situation, pinpointing the exact cause can be challenging. I hope you can understand. Regarding the pending translation job, that job was created when the Automatic translation was enabled. To complete that job, please enable the Automatic translation(For all previous contents) by going to "WPML > Settings > Translation Mode" and hopefully, that job will be completed soon after that. Please let me know if there is anything else you need help with. I will be happy to assist. Best regards, |
January 11, 2024 at 2:00 pm #15174986 | |
Ivan Beemster |
Hello Prosenjit, Not sure what to do at "WPML > Settings > Translation Mode" to solve this. Currently it is set to "Translate What You Choose", and I rather not change it to 'Translate Everything Automatically' because with hundreds of posts, it will cost a ton. Let me know how to proceed, thanks, |