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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

This topic contains 3 replies, has 3 voices.

Last updated by Bobby 10 months, 1 week ago.

Assisted by: Bobby.

Author Posts
July 23, 2024 at 4:15 pm #15993475

suzieG

Background of the issue:
I added a custom language to test the support (Sinhala). I remember that in a previous version, there was a X in the Edit languages page (/wp-admin/admin.php?page=sitepress-multilingual-cms/menu/languages.php&trop=1) that allowed to delete a language, but it's not there anymore.

Symptoms:
It's not possible to delete a language after it has been added. If I made a mistake in the name or code, I can't fix it and I can't delete the language and add it back correctly.

Questions:
How can I delete a custom language in the current version of WPML?
Is there an alternative way to fix mistakes in the language name or code?

July 24, 2024 at 8:09 am #15996726

Dražen
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps and try to help with the issue quickly.

As any other language, you first need to unselect it and then there will be X for that language to remove. Please check:
- https://wpml.org/faq/how-to-completely-remove-a-language-from-your-site/

Regards,
Drazen

July 25, 2024 at 5:05 pm #16004859

suzieG

Hi, thank you for your reply.

I tried that, but it isn't completely removing the language.

Step-by-step:

1. I uncheck the language from the active languages list and hit save
2. I click the 'x' to remove all content
3. I click the 'Edit Languages' link to add it back properly
4. It says the language already exists (view screenshot)
5. Looking at the active languages list again, I can still see it with the checkbox, so it may have deleted the translations, but the language is still saved somewhere...

The use case for this is that I'm working with various foreign languages, and errors happen... Someone added Burmese but made an error and saved it as "Burmess". Since the language is tied to the code and the code must be unique and we can't edit code nor name, we're stuck.

Regards,
Suzie

PS: I'm 95% sure that sometime before, I saw a red X button in the screen pictured with the yellow row. Maybe it was in another version, or on another site.

Screenshot 2024-07-25 at 1.04.21 PM.png
Screenshot 2024-07-25 at 1.03.56 PM.png
July 25, 2024 at 5:06 pm #16004889

suzieG

(oops, sorry I had an issue and it double-posted)

The topic ‘[Closed] It’s not possible to delete a language after it has been added’ is closed to new replies.