Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You deactivated the German (Switzerland) language on your site, but translations associated with this language still exist in your database.
Solution:
1. Re-add the 'German (Switzerland)' language using the same language code.
2. Navigate to Templates -> Filter by 'German (Switzerland)' -> Delete the templates.
3. Go to WPML -> Languages -> Edit languages link -> Remove 'German (Switzerland)'.
4. Double-check if the issue has disappeared.

If this solution does not resolve your issue or seems outdated, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

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.

Tagged: 

This topic contains 9 replies, has 0 voices.

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

Assisted by: Paola Mendiburu.

Author Posts
November 6, 2025 at 10:41 pm #17555721

nickS-28

Background of the issue:
I deactivated the German (Switzerland) language from my site, but there are still some existing translations saved in my database. I was trying to manage the languages on my site. Clicking delete but it does not delete.

Symptoms:
There are existing translations in the database for a deactivated language.

Questions:
How can I delete the associated content for the deactivated language from my database?

November 7, 2025 at 9:26 am #17556433

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hello,
My name is Carlos, and I will continue working on this ticket

1.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '512M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

2.- Once the WordPress memory limit is increased, double-check if the option to delete the content from the removed language works now. You can find this option in a table in WPML -> Languages

You can also use this guide: https://wpml.org/faq/how-to-completely-remove-a-language-from-your-site/ as a reference.

Regards,
Carlos

November 10, 2025 at 9:55 pm #17564229

nickS-28

Warning: Constant WP_MEMORY_LIMIT already defined in /home/u712841967/domains/reloqio.com/public_html/wp-config.php on line 107
this error is caused by your instruction

November 11, 2025 at 8:47 am #17565197

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi,

This error means that the line of code is already defined in the wp-config.php file:

define('WP_MEMORY_LIMIT', '512M');

But it is in the wrong place. Please remove all the code lines with:

define('WP_MEMORY_LIMIT', '512M');

And then follow the steps I described, by placing the code right above the line /* That's all, stop editing! Happy blogging. */

November 11, 2025 at 9:12 am #17565360

nickS-28

doesn't seem to mean what you are referring to, as the line does not yet exist in the wp config

Screenshot 2025-11-11 101039.png
Screenshot 2025-11-11 101029.png
Screenshot 2025-11-11 101013.png
November 11, 2025 at 9:24 am #17565435

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi,

Yes, you are correct, there is not even a line 107 in wp-config.php file, which is strange. Let's leave this for now.

Can you provide the language code of the German (Switzerland) language you used?

November 11, 2025 at 7:40 pm #17568233

nickS-28

de-ch

November 12, 2025 at 9:21 am #17569455

Carlos Rojas
WPML Supporter since 03/2017

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

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

Thanks!

Please follow these steps:
- Add the 'German (Switzerland)' language back. Make sure to use the same language code
- Go to Templates -> Filter by 'German (Switzerland)' -> Delete the templates
- Get back to WPML -> Languages -> Edit languages link -> Remove 'German (Switzerland)'
- Double-check if the issue has disappeared

November 14, 2025 at 8:41 am #17577764

nickS-28

not possible, as in the other ticket you are working on, language cant be added because it already exists, not sure what the fuck is going on here

Screenshot 2025-11-14 094019.png
November 17, 2025 at 1:16 pm #17584189

Paola Mendiburu
WPML Supporter since 11/2020

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

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

Hi there!

This is Paola and I hope you are well! I will continue with the ticket as Carlos is on holiday.

It looks like the language was added before, and some content remained.

Please check this video in order to how to solve the problem:
hidden link

Go to WPML --> Languages --> Add languages and select German (Switzerland).