Skip to content Skip to sidebar

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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 1 month ago.

Assisted by: Long Nguyen.

Author Posts
May 15, 2024 at 12:04 pm

merjak

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.

After waiting for several hours, I took the steps: https://wpml.org/forums/topic/automatic-translation-stuck-7/
Same continues.

Any help to this?

May 15, 2024 at 2:03 pm
May 16, 2024 at 1:44 am #15632531

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Merjak,

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.

Looking forward to your reply.
Thanks

Screenshot 2024-05-16 at 08.36.04.png
Settings ‹ In4mo — WordPress 2024-05-16 08-34-01.png
May 20, 2024 at 8:20 am #15644181

merjak

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.

May 20, 2024 at 10:40 am #15644996
merjak

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.

May 21, 2024 at 1:40 am #15647556

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

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

Translation Management ‹ In4mo — WordPress 2024-05-21 08-36-03.png

The topic ‘[Closed] Automatic Translation stuck’ is closed to new replies.