[Resolved] Translation not completable or cancellable
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with translations not moving from 'in progress' to 'completed' status despite being 100% complete in the advanced translation manager. Additionally, cancelled translations revert to 'pending' status after reloading the page. Solution: First, we installed WP Adminer and removed the translations attached to the templates with element ID = null, which seemed to be corrupted. We then duplicated the templates and edited them independently, which resolved the issue. Secondly, we set the site to minimal settings with only Elementor and WPML plugins active and a default theme. We cancelled the in-progress jobs via WPML -> Translation Management, edited the original language by adding a space, and saved the changes. This process was repeated for each language, and the translations then moved to 'completed' status. We recommend trying these steps on any other pages, templates, or posts that are stuck. If the problem persists, it might be due to a conflict with the theme, especially if using a child theme.
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 issue 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.
Background of the issue:
I'm trying to complete two translations on my site hidden link using WPML. I have reached 100% in the advanced translation manager and clicked 'complete', but the status remains 'in progress'. I also attempted to cancel the translations, but they revert to 'pending' after reloading the page.
Symptoms:
Translations are not moving from 'in progress' to 'completed' despite being 100% complete in the advanced translation manager. Cancelling the translations results in them showing as 'pending' again.
There is no error message in the webserver logs or browser console.
Questions:
Why are my translations not moving to 'completed' status after reaching 100%?
Why do cancelled translations revert to 'pending' status after reloading?
I have marked the next reply as private so that you can share credentials to your staging site. Please let me know if it is okay to deactivate theme/plugins on this staging site in order for me to further troubleshoot.
I enabled Elementor on the test site so that I can try to reproduce the issue. I was able to translate a template without any error (I tested hidden link).
Can you send me the title of a one specifically where you are getting the error and where it can't be translated 100%?
Hi Lauren,
we do experience this at the moment at least with two elementor template files:
- Elementor Einzelveranstaltung #27096
- Webinare / Online Kurse
As you can see on this screenshot: hidden link
After trying to redo the translation we still experience the issue. I was able to find something (probably regarding this issue) in the WPML Error Log: hidden link
I went to Elementor Einzelveranstaltung #27096 and made a small edit (added a space at the end of a sentence). I then edited the French translation, saved 3 untranslated segments and it saved. I also duplicated to your other languages just for testing, and those translated as well.
I then followed the same steps on Webinare / Online Kurse and I was able to update the French translation and duplicate to the other languages as well. Please follow these steps if you run into this issue on any other templates or posts.
Please let me know if you need any further assistance and I will be happy to help.
I was not able to reproduce this on the live site with every plugin disabled excluding Elementor and WPML.
Would you be so kind and test it aswell? You can deactivate all plugins on the live site, if needed.
I logged in and can see you have many out of date plugins. Please update specifically Elementor and let me know once that is done. Then I can login and attempt the same resolution. Please confirm you have a back up and I have permission to disable plugins if needed to complete these steps.
I'm still troubleshooting this and while I know you said to do whatever I need to do, I do need written approval to install some additional plugins - WP File Manager and Adminer. Adminer will allow me to check the status of the translation in the database and perhaps delete/disconnect the current translation so I can start it from scratch. Please let me know if this is okay. Thanks for your continued patience!