Skip Navigation

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

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

This topic contains 12 replies, has 3 voices.

Last updated by Alejandro 11 months, 2 weeks ago.

Assisted by: Alejandro.

Author Posts
June 20, 2024 at 8:40 am

Jan Himmighofen

Background of the issue:
Hi, my instance of WPML on hidden link started auto-translating content in all of my deactivated languages on 13th June. These languages had been deactivated for more than a year and I never enabled them again or asked WPML to translate any remaining content in these languages. Our WPML instance is set to auto-translate content, but of course only for languages that are activated.

Symptoms:
WPML auto-translated content in deactivated languages, consuming a lot of translation credits this month.

Questions:
Why did WPML start auto-translating deactivated languages?
Can I get a refund for the translation credits consumed by these unintended translations?

June 20, 2024 at 8:54 am
June 20, 2024 at 8:55 am #15762201

Dražen
Supporter

Languages: English (English )

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

Hello,

you have been inactive and disconnected from chat for a while, so I have created a ticket.

Please make a full backup of your site (files and database) and confirm it in your next reply.

We would need to access your site's wp-admin.

I have enabled the private username and password fields in your next reply.

You can safely add your information into these fields.

Regards,
Drazen

June 20, 2024 at 11:52 am #15763449

Alejandro
WPML Supporter since 02/2018

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

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

Just so you know, i'm checking your site out and i've been following your situation from before it was a ticket. i'll come to you shortly with my findings.

June 20, 2024 at 1:10 pm #15763974

Alejandro
WPML Supporter since 02/2018

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

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

Hello,

My investigation is here: hidden link

From what i see the languages were not disabled but hidden when the credits were used which is expected (hidden means something like "this language is not ready yet, so i don't want it to be public" so it's hidden from the front-end, but it can and will be translated normally).

I can state this because of the status of some jobs in many of the dates where i see that translations occurred for these languages (some of them were early June and early to mid february, very briefly and not for ALL the languages so some were indeed disabled back then).

You mentioned that you had them disabled for years, so could it be that some were enabled either by mistake or to check something? (even a quick enable / disable action would trigger the automatic translation).

Let me know please so i can try to understand better what happened.

June 25, 2024 at 12:29 pm #15820631

Jan Himmighofen

Hi,

Sorry I didn't get any email notification that you had responded so didn't see your response until now.

The same issue just happened again and WPML suddenly enabled all my deactivated languages again and started automatically translating remaining content for those languages. I have attached two screenshots of this and paused automatic translations again now. One of the screenshots clearly shows that all languages are listed as enabled now but some of them are simultaneously listed as disabled! That's something that shouldn't be possible and of course none of the deactivated languages should be activated in the first place.

Regarding your investigation, I've attached a screenshot from your Loom video that shows all languages that should be active. What WPML is showing in your recording is the correct list of enabled and disabled languages. The languages that are shown as deactivated were deactivated over a year ago and never enabled again. I understand the difference between hidden and disabled languages. None of the disabled languages were ever made public, they were always hidden and then about a year ago fully disabled. After that we never touched them again. I tried to remove the content in those disabled languages too, using the buttons in the table on the "Languages" page, but every time I cleared the content, at some point WPML starts showing the content of the disabled languages again on the "Languages" page.

The reason the translations weren't done for all pages and all disabled languages is because I noticed the issue and paused automatic translations before WPML was able to auto-translate it all.

We need to find a fix for this please. I can also provide a list of translations from our translation usage report that should have never been done automatically because the languages should have stayed deactivated.

Thanks
Jan

Screenshot 2024-06-25 at 13.21.36.png
Languages that should be activated and translated.png
Screenshot 2024-06-25 at 12.53.39.png
June 25, 2024 at 12:48 pm #15820826

Jan Himmighofen

It seems to have gone back to normal now and the deactivated languages are no longer in the list of enabled languages. WPML is only showing 2 translations left in the queue, but I will keep automatic translations disabled for now until we fix this error.

Here is a list of translation pairs that should always stay disabled and never translate. I'm even happy for those to be completely removed from the site but WPML doesn't seem to allow us to do that.

en_bg
en_da
en_el
en_et
en_fi
en_ja
en_no
en_ru
en_sr
en_sv
en_zh-Hans

Screenshot 2024-06-25 at 13.37.54.png
Screenshot 2024-06-25 at 13.36.17.png
June 25, 2024 at 1:56 pm #15821506

Alejandro
WPML Supporter since 02/2018

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

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

1) I have a suspicion: can you make all those languages active for a moment, then UNHIDE them and then deactivate them again?

Because the only "weird" thing that i notice is that they are hidden.

If you can, please leave only 1 hidden and then check if the problem happens again and only with the hidden language.

2) Did this happen when you were modifying a certain page by any chance? or did it happen "randomly" when no one was adding/editing anything?

June 27, 2024 at 11:50 am #15843599

Jan Himmighofen

Hi, I will test option 1). Regarding question 2) yes it seems to happen when I modify pages or send a page for translation. It randomly enables deactived languages and then after 15-30 minutes they are disabled again.

June 27, 2024 at 12:05 pm #15843688

Jan Himmighofen

Hi, I just opened the 'edit languages' menu and noticed that several of our disabled languages appear twice in the selection. Maybe this is why some of them become active while the other version potentially stays deactivated?

Only the black underlined languages of Norwegian, Finnish, Bulgarian and Russian exist as a single language, as per the attached screenshot.

All circled deactivated languages in red exist twice.

Screenshot 2024-06-27 at 12.53.29.png
June 27, 2024 at 1:58 pm #15844641

Jan Himmighofen

I have now enabled the following languages again, unhidden them, and then disabled them again:

- Chinese (Traditional)
- 中文

- Danmark
- Denmark

- Greek
- Greek (GR)

- Eesti
- Estonian

- Serbian
- Српски

- Sverige
- Swedish

- Norge

- Suomi

- български

- Россия

Weirdly none of these languages showed up as "hidden" after enabling them apart from Greek (GR). They are all disabled again now.

The remaining language that I haven't done this for is Japanese.

Thanks
Jan

June 27, 2024 at 2:59 pm #15845043

Alejandro
WPML Supporter since 02/2018

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

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

You're right and i was looking into it because they seem to be languages that were modified and that might be why they are like that.

I was wondering if you could create a staging site out of this one so we can ask our devs to test without risks on your own and I'm currently waiting to see how many credits were used so we can give them back to you.

you can create a staging site with a plugin called WP Staging, it's quite straightforward and might do the trick. just let me know the URL of the new site since i suppsoe the credentials will be the same.

By the way, you may need to change your settings at the top of the thread: hidden link so you can get a mail from every reply i make.

Regards.

July 4, 2024 at 8:34 am #15890290

Jan Himmighofen

Hi, please bear with us while we create the staging site. Please don't close the support topic yet. In the meantime, we received an invoice and were charged for the translation credits that were used on the deactivated languages.

July 4, 2024 at 12:13 pm #15891743

Alejandro
WPML Supporter since 02/2018

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

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

No problem, the ticket won't be closed for another 14 days 🙂

Regards.

The topic ‘[Closed] WPML auto translated deactivated languages’ is closed to new replies.