I have 5 additional languages. I selected automated translations as option and progress for translation started. I ran out of credits and they were added. I paused the translation progress and restarted it to get rid of the fixing box. Translation progress started spinning again.
After hours of waiting, I am still seeing the same.. translate progress running.
I still seem to have 113040 credits left (from 90000+200 000 ). I have 263 translations in queue. This has been so for several hours.
On the top, the spinner has all the time shown Translate everything automatically 0/263
0% 3min remaining.
I can see in WP dashboard on different pages that they do have translations.
Everything is still spinning and in all pages it says translation in progress, 1 hour remaining.
On frontend navigation has been translated. There is nothing in the content area: no text, no elements/layout, just emptiness.
Thank you for contacting WPML support, I’m happy to help you with this issue.
According to the Advanced Translation Editor error log in WPML > Support
Call to undefined function PHPMailer\PHPMailer\mail() /home/gsdgzbdzuw/domains/in.koriseva.com/public_html/wp-includes/PHPMailer/PHPMailer.php:881
there is an issue with the PHP mailer service on your site. So I go to WPML > Settings > Translation Notifications > Disable all notification options then the automatic translation works properly. Please check the attached screenshots.
I suggest you contact your hosting support to fix the issue with the PHP mailer service and you can re-enable the notification options again.
Haven't got reply from my hosting yet. All works fine.
Might be the SMTP they have in their server is the problem as I havent set it up on the site. Site will be transfered to customers space soon.
Thank you for all the help and assistant it was really important to me.
I have added a new language: Spanish. Most of the content translated ok, then I got stuck again and some pages are with no translation. Also the logorow is missing on the bottom of the page from the new language.
To navigation I also add dropdown language switzer that has not appeared to all pages (Danish, Finnish). Spanish navigation got mess with more pages on it than others. How do I solve that?
I have set up the SMTP, but that didn't seem to make a difference.
I also tried to cache WPML.
This is still running:
Translate Everything Automatically 0 / 10
0%, less than 1 min remaining
I am planning to move site to customers webspace soon. Should I do that before you investigate more. Do you think that would solve the issues? Anything to take on concern with that? As it will be testspace too, but in their hosting, I believe I can just change the domain in WPML, right?
I thought earlier that this was solved, and was ready to close the ticket. I will now reopen as it's still not working.
Also after these are sorted, I believe I can change the mode to "choose what you translate". Can this be done even pages has not been reviewed yet?
I would also ask: how do I get translated ALT texts from images. I have used them on the top of the images on these pages: hidden link. They didn't automatically appear.
Thanks for all the help.
New threads created by Long Nguyen and linked to this one are listed below:
We limit one issue per ticket only so I will split your questions into new tickets for better handling. In this ticket, I will focus on the automatic translation stuck issue.
I enable WP debug and see there is a fatal error in the log
[21-May-2024 01:24:46 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/gsdgzbdzuw/domains/in.koriseva.com/public_html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/strategy/shortcode/class-wpml-pb-shortcode-content-wrapper.php on line 53
the limitation of PHP settings on your hosting that causes the issue: max execution time is 30 seconds and on some pages that have larger content, it needs to take more time to deliver the translation then the error occurs.
I fix the issue by adding the code below to the file wp-config.php to increase this PHP setting:
set_time_limit(300);
now you can see all content is translated completely.
Looking forward to your reply.
Thanks
The topic ‘[Closed] Automatic Translation stuck’ is closed to new replies.