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 – 14:00 8:00 – 14:00 8:00 – 14:00 8:00 – 14:00 8:00 – 14:00 -
- 15:00 – 17:00 15:00 – 17:00 15:00 – 17:00 15:00 – 17:00 15:00 – 17:00 -

Supporter timezone: Europe/Madrid (GMT+02:00)

Tagged: 

This topic contains 65 replies, has 1 voice.

Last updated by Paola Mendiburu 3 days, 22 hours ago.

Assisted by: Paola Mendiburu.

Author Posts
May 20, 2026 at 8:15 am #18047578

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

I will let you know as soon as I have news.

May 20, 2026 at 11:12 am #18048313

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

Hi there!

I discussed this with our second tier team and we identified the reason for the slowdown when adding a new language.

At the moment, when WPML adds a new language, it not only downloads the WordPress core language packs, but it also checks and updates the translation packs for *all installed plugins*, even if they are already up to date.

This especially impacts websites using plugins like WooCommerce because they include a very large number of translation files.

Our developers are already aware of the issue and we have escalated it internally.

For now, the workaround is to temporarily add the following code snippet to the site. This prevents WPML from updating plugin translation packs during the language creation process, which should make adding languages significantly faster:

/**
 * Prevent WPML from updating plugin language packs when adding a new language
 */
add_filter( 'option_active_plugins', function( $value ){

    if ( isset($_REQUEST['action']) && $_REQUEST['action'] === "wpml_set_active_languages" ){

        return [];
    }

    return $value;

}, PHP_INT_MAX, 1 );

You can add it temporarily in your theme’s functions.php file or via a snippets plugin.

After the language has been added successfully, you can then manually update translations from:
Dashboard → Updates → Update Translations

This way the language gets added first without the heavy plugin translation update process running at the same time.

Please let me know how it goes after testing it.

May 27, 2026 at 7:33 am #18062504

Lukas Leitner

Hello, I also have this problem and your workaround with the functions.php snippet does not solve it. I have Cloudflare in use. When I want to add a custom language I fill out the yellow highlighted inputs and then I click Save (Speichern). Then a white screen appears, the page loads (which is like it always was) but after a minute or so the loading just stops. No error message, no console log, just the white screen. The language is not added. A similar behavior occurs when I add or deactivate a language in the overview with the checkboxes. This returns a Cloudflare timeout error in the console.

Bildschirmfoto 2026-05-27 um 09.17.00.png
May 27, 2026 at 9:12 am #18062875

T4ng

Hi,
I just tested your snippet.
It also doesn't work for me. The process still takes ages at the "Downloading translations... Please don't close this page." step.

Best Regards,

May 27, 2026 at 1:47 pm #18063935

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

Hi!

As the issue seems to be happening specifically on your site and appears to be related to Cloudflare, our second tier team is asking if we could have access to your website.

This would allow us to investigate the problem directly on your installation and better understand what is causing it.

Could you please provide temporary access credentials?

I will mark my next reply as private so you can share them securely.

May 28, 2026 at 7:59 am #18065478

T4ng

Hi Paola,

Who was this message for?
We're now two users to face this issue. Lukas and I.

I'm on CloudFront, he's on CloudFlare. We face the same issue, for the same reason.

We agree on the issue: the more plugin, the more time it takes to add a language and process everything related.

The solution would be to make the request much faster, so that there is no risk for us to reach the CDN's 60s limit.

The *quick* hack is to disable all the plugins besides WPML multilingual CMS, but it's not an elegant solution at all, because it breaks the website.

That's why you provided a snippet meant to delay the download (or processing) of files related to plugins, to prevent the language creation process from lasting to long. But both of us confirmed your snipped doesn't work.

May 28, 2026 at 8:06 am #18065482

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

The answer was for you, the second tier ask for access to your site so he can investigate the issue directly in your site.

I will mark my next reply as private so you can share them securely.

June 2, 2026 at 10:39 am #18075131

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

I noticed that the access details you shared are for a Local site. Unfortunately, I cannot access Local environments from my side.

Do you have a staging site or a live site where the issue can be reproduced and that I can access? If so, please share the access details with me, and I'll be happy to investigate the problem further.

Thank you for your cooperation!

June 2, 2026 at 11:02 am #18075201

T4ng

I provided you with a Duplicator package...

June 2, 2026 at 11:08 am #18075224

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

we previously tested the issue using the Duplicator package you provided. In our test environment, we were able to reproduce the setup and perform several checks.

However, since the issue is still occurring on your site and we are unable to reproduce it in our environments, we need access to the actual site where the problem occurs in order to investigate what might be different there.

Could you please provide access to a staging or live site where the issue can be reproduced? This will allow us to continue the investigation and identify why the behavior differs from our test environments.

June 2, 2026 at 11:18 am #18075286

T4ng

This is another package, with more of the plugins we use attached to it, rather that the very minimal environment I shared earlier.
You should be able to see the issue on that one.

By the way, I can't provide you with an environment that's behind the CDN.
And even if I could, you would break the environment after your first attempt and you won't be able to do more clean tests until I reset everything (since I won't provide you access to the server's admin panel).

The only environment I can provide you with will require a VPN access and will suffer the same limitations anyway.

So I' rather like you to give it a try from the Duplicator package, which should allow you to note the issue and troubleshoot, before considering that option.

Thanks

June 2, 2026 at 11:27 am #18075297

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

Ok thanks.

I have sent to the second tier.

I will let you know as soon as I have news.

June 26, 2026 at 10:17 am #18127936

T4ng

Hi,
Still no news from the second tier support on that subject?

Thanks

June 26, 2026 at 10:24 am #18127971

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+02:00)

Hi there!

Sorry for the delay.

At the moment, it looks like the workaround has not been applied to your site. Without it, we shouldn't expect to see any improvement in the behavior.

Unfortunately, my colleague doesn't have access to your site to verify this directly.

Could you please confirm whether the workaround was applied? If not, please apply it and let me know once it's done so I can continue investigating.

Thank you!

June 26, 2026 at 10:41 am #18128025

T4ng

I already explained you I tried your snippet and that it didn't work.

I provided you with a copy of the website, because explained you I couldn't share a test environment.

You can apply the snippet yourselfn andr explain me how you get it working, because when I used it, it just didn't work, as it didn't work for Lukas Leitner, the other user facing the same issue when adding languages.

You have everything you need to troubleshoot the situation.