[Resolved] Automatic translations are stuck in the queue
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing issues with WPML where automatic translations are stuck in the queue, it might be due to plugin conflicts or incorrect settings. Solution: First, ensure that your 'Views' post type is set to 'Not Translatable' in 'WPML > Settings > Post Type Translation'. This setting is crucial as having 'Views' translatable can cause issues with automatic translations. Next, check for any plugin conflicts. Specifically, the 'WP External Links' plugin has been known to interfere with the translation process. Try deactivating this plugin to see if it resolves the issue. If the problem persists, you might need to clear the translation queue and reset the translation settings:
Navigate to 'WPML > Support > Troubleshooting'
Click on 'Cancel in-progress automatic jobs'
Clear the cache in WPML
Fix element_type collation
Synchronize local job ids with ATE jobs
Synchronize translators and translation managers with ATE
Assign translation status to duplicated content
Set language information
Fix post-type assignment for translations
After these steps, switch the translation mode back to 'Translate Everything Automatically' under 'WPML > Settings'. If these steps do not resolve the issue, it may be necessary to provide temporary access to your site for further diagnosis. Remember to back up your site before making any changes.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at 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.
Hello There!
Thanks for contacting WPML Support. Sorry for the delay in responding due to the weekend.
I understand the issue you're facing. The automatic translation process could be interrupted due to reasons like insufficient translation credits or synchronization issues, etc. According to the information in our system, your site has an active Pay-as-you-go subscription for credits, so you shouldn’t experience issues with translating content automatically in bulk.
Please follow these steps to see if the automatic translation process resumes.
- Please go to "WPML > Settings"
- Change the Translation mode to "Translate what you choose"
- Once done, go to `WPML > Support > Troubleshooting`.
- Click on the following buttons:
-- Cancel in-progress automatic jobs [Scroll down to see this button]
-- Clear the cache in WPML
-- Fix element_type collation
-- Synchronize local job ids with ATE jobs
-- Synchronize translators and translation managers with ATE
-- Assign translation status to duplicated content
-- Set language information
-- Fix post-type assignment for translations
- Once done, go to "WPML > Settings"
- Switch the translation mode to "Translate Everything Automatically" and set it to translate all content on your site.
Please give it a try and let me know how it goes. I'll be happy to help if you need further assistance in this matter.
The ATE error log might provide insights into why the translation is not being processed. Please navigate to "WPML > Support > Advanced Translation Editor → Error Logs". Take a full-screen screenshot of the page, ensuring all columns and the most recent errors are fully visible. Kindly share this screenshot in your next response. I'll check and suggest what to do next!
Based on the error log, it seems that the Toolset Blocks plugin is connected to the issue, as it shows a recurring member function error originating from this plugin.
That error often occurs when the "View" post type in Toolset Blocks is set to "Translatable." By default, the translation preference for the "View" post type should be set to "Not Translatable", which is also included in the wpml-config.xml file that comes with the Toolset Blocks plugin.
While reviewing the WPML Debug Info, I noticed that the translation preference for the "View" post type on your site is set to "Translatable", which could be causing the issue on your site with automatic translation. Please navigate to "WPML > Settings > Post Type Translation" and update the translation preference for the `View` post type to "Not Translatable". After making this change, restart the automatic translation process by following the steps I outlined in my first response.
Please give it a try and let me know how it goes. I'll be happy to help if you need further assistance in this matter.
I have set views to not translatable and tried it again. Unfortunately it's still stuck at 203 translations left in the queue.. I have uploaded a new error log.
Thank you for trying out the suggestion. I still can see the same error on the ATE error log. To understand the root cause of the issue, a closer inspection will be required.
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
I have noticed a new issue since trying out the latest suggestion. Two pages i opened and saved in the german version are somehow published on the dutch site.
And all the translated content is missing in the fields. It was there before.
Thank you for providing the access details. Upon investigation, I found that the "WP External Links" plugin was the main cause preventing the translation from being delivered to your site, which caused the automatic translation process to get stuck. After deactivating the plugin, the translation process resumed immediately. Please see this screenshot for reference: hidden link.
There are still 33 items stuck in the translation queue, and they are 'Views' templates from Toolset. As I mentioned earlier, 'Views' templates should not be translated. To resolve this, you can change the translation preference for the 'Views' post type to "Not Translatable" by navigating to 'WPML > Settings > Post Type Translation'.
We also have identified the issue was caused by the "WP External Links" plugin and have already informed the plugin author about it. For more details, please refer to the Errata below:
If you want, you can also report this issue to the "WP External Links" plugin team to help expedite the fix. For now, I activated the plugin on your site again.
I hope it helps!
Regarding the issue with the pages: I reviewed the site but couldn’t locate the problematic pages mentioned in the screenshot. Could you please specify which CPT they are in? I’ll check them and provide guidance if there are any issues.
Hello Menno,
I hope you're doing well. Sorry for the delay in responding due to the weekend.
Thank you for the update. Glad to hear that no more translations are stuck in the queue. Please feel free to test and let me know if you need further assistance in this matter. I'll be happy to help.