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?
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.
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.