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 39 replies, has 1 voice.

Last updated by Paola Mendiburu 2 days, 6 hours ago.

Assisted by: Paola Mendiburu.

Author Posts
May 4, 2026 at 1:42 pm #18011036

T4ng

Hi Paloa.

I understand you'd like me to add this language the normal way.

As explained,I tested your solution on our staging environment: no cache, no WooCommerce enabled.
It just doesn't work: I still get an error (cf screenshot) and the language is not added.

While I understand there's no issue on your side when you test it on minimal environment, I must say I'm looking for a *consistent* way to proceed to language addition , because this will be required again in the future.

That's why we use WPML: to translate our website, and add more languages. So it must work.

Anyway, shutting down the shop is not a graceful way to manage a website.
In this case, it's actually not graful at all since WooCommerce is required to run out theme. If WooCommerce is disabled, the website is down.
Not to mention, I also need to deactivate several WooCommece dependant plugins before being able to disable WooCommerce.

Degrade a website to run a plugins function is just not professional. WPML is a professional plugin, we pay for it. I think we can expect a professional behavior.

A standard request that takes over a minute *is* far from optimal.
Or if it's absolutely required, there must be ways to run it wihout issues.
Many operations in WordPress (such as WPML content updates - see attached) do take more that a minute, and still won't end up with a 5xx error).
So why is it different when I add a new language?

For now, all I know is that your solution doesn't work on our hosting environment, which means all the WPML's requirements.
When it breaks, (on a database on which this country has never been added), the only message I get is: "Error: data not saved".

So no 5xx error here but...
- I don't know what went wrong
- I get no explanation about the step that went wrong - I get no logs
- I don't know if the database is damaged
- I actually don't even know what it takes to add a language (besides uploading translations), so have no idea of where it failed. Plus

If you're not the person who can fix it, I totally understand.
But then please hand over this issue to somebody who does.

It's been more that I month we're discussing this issue. We really need to add this langage now.

I hope you understand.

Thanks

Capture d'écran 2026-05-04 152039.png
May 5, 2026 at 8:13 am #18012814

Paola Mendiburu
WPML Supporter since 11/2020

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

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

Hi there!

I did the tests with all the plugins activated.

As it is working on the local copy of your site, could you please give me access to your site?

That way I can investigate the issue directly.

May 11, 2026 at 7:18 am #18025963

T4ng

I'm still looking for a way to share this test environment.

In the meantime, could you please detail what are the steps required, code wise, to create a language, besides downloading translation files? I hardly believe this takes so much time.

Thanks.

May 11, 2026 at 11:26 am #18027112

Paola Mendiburu
WPML Supporter since 11/2020

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

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

Hi there!

It should not take that long or return an error, as you can see on the local environment where I tested it using a copy of your site.

I have enabled the next reply as private so you can safely share the login credentials.

May 11, 2026 at 11:45 am #18027184

T4ng

Could you please detail what are the steps required, code wise, to create a language, besides downloading translation files?

May 12, 2026 at 8:56 am #18029608

Paola Mendiburu
WPML Supporter since 11/2020

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

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

There is no custom code for that you need to add it from WPML --> Languages.

May 12, 2026 at 10:06 am #18029792

T4ng

You don't understand my question.

I'm just asking what it takes to add a language from the code perspective. What tasks accomplish the WPML code to add a language to the current installation.

I would just like to understand what takes so long.

Because the only information we get during the process is the message about retrieving the translation files.
Translation files are very lightweight, I can't believe that's what takes so long.

May 13, 2026 at 10:06 am #18032499

Paola Mendiburu
WPML Supporter since 11/2020

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

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

I have escalated to the second tier!

I will let you know as soon as I have an answer.

May 13, 2026 at 2:28 pm #18033594

T4ng

Hi,

Since the ticket is very long, I feel the need to gather what's been said.

I need to add a language to my website, hosted behind CloudFront, with a 60 seconds timeout limitation, that can't be changed.
I have added several language to our website since 2018, among which some were added last year. So quite recently.

During my tests, I understood the following:

1. Adding a custom language takes longer that a standard language, but in our case, still takes over a minute.

2. I tried to add Brazilian as custom language, and it would fail. After exporting a DB and trying it from a minimal environment (vanilla WordPress + this DB), it would still fail, while adding another, different custom language wouldn't. Then I realized Brazilian was offered in standard languages. Then, adding the standard Brazilian would work locally. But still takes more than 1 minute

3. Disabling WooCommerce could reduce the time needed to add a language. But in my case it's not possible, since my custom theme needs WPML, and WooCommece relies on add-ons. It's a long process, degrades the user experience... I can't conceive your only suggestion to addd a language is to alter the website's behavior

It's been 2 months I need to add this language.

- I understand that, during the language creation process, translations files are dowloaded... But that's all I know and can't conceived downloading translation files take so long. When it fails, I get no message besides timeout. I can't find any log regarding this issue. So I asked what are the steps included in the language creation process, just to try figuring out what's going on.

- I asked if you could offer a command line method (not limited by CloudFront). Unless you understand what takes so long an can reduce it, or process it with a method not limited by requests timeout, I can't think of another solution to create more language.

Thanks for coming up with a solution.

Best Regards,

May 13, 2026 at 4:57 pm #18034066

Paola Mendiburu
WPML Supporter since 11/2020

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

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

Hi there!

I checked this further with our second-tier team.

The main time-consuming part when creating the new language seems to be downloading the language pack for PT-BR through WordPress itself.

To work around this, could you please try the following steps?
1. Temporarily deactivate WPML.
2. Go to Settings → General in WordPress.
3. Change the Site Language to Portuguese (Brazil) – PT-BR.
4. Save the changes. This should force WordPress to download and install the PT-BR language pack.
5. Change the Site Language back to your original default language.
6. Reactivate WPML.
7. Go to WPML → Languages and add PT-BR again.

This way, WPML should skip the language pack download step and the process should complete much faster.

Please make sure to create a full backup before trying these steps.

Let me know how it goes.