Here's a fix for this language removal problem :

I removed a language from my site but it was still listed in the blocks translations and language switcher. I made a search through it's related database for the listed name and found only two records containing it insite those tables :

  • cache
  • variables

In the variables table, it was inside the record i18n_languages. I removed the corresponding language entry from the enabled array, something that looked like s:7:"English"; inside the curly brackets. Then I deleted the record from the cache and reloaded a page and the enabled languages were listed correctly again.

Comments

keesje’s picture

'Bug' confirmed for 5.x-2.3.
Didn't try above dbs hack yet.

grtz,

Kees

dynv’s picture

Version: 5.x-2.2 » 5.x-2.3

@qrios that's how you do it ! ;)

R.Hendel’s picture

Status: Active » Closed (won't fix)

Deprecated - D5 is no longer supported.