Logo
FAQs
FAQsTranslating many posts at once to many languages fails (timeout or blank screen)

Translating many posts at once to many languages fails (timeout or blank screen)

This is usually a problem with your hosting provider not accepting that many concurrent requests.

Servers have limits on the number of outgoing connections they can handle at once. When translating several long posts to several languages, the plugin may trigger a huge number of requests at the same time. For instance, 8 long posts translated to 5 languages may well trigger over 100 requests (3 requests per post * 8 posts * 5 languages = 120 requests), which is very likely to exceed your host's limit and cause the failure.

To find out how many concurrent requests your hosting provider can handle, do the following:

  1. Enable the logs for API requests (see Debugging API Requests), and trigger the translation of 1 post.
  2. Go to the logs, and check how many requests were triggered.
  3. Now trigger the translation for 2 posts.
  4. Then for 3 posts.
  5. And so on, increasing the number of posts each time, until it doesn't work anymore.

At that point, you know the previous number of requests is the maximum your hosting provider can handle concurrently (e.g. 100 requests), and anything above that fails.

Then, ask your host if they can increase that limit.