I ran into the same problem after upgrading an x86_64 desktop machine from hardy to lucid, and then I remembered that
I had previously generated my own locales by editing /var/lib/locales/supported.d/local.
What fixed the issue for me was:
1. Deleting /var/lib/locales/supported.d/local
2. Deleting /usr/lib/locales/* (you may want to backup the data in this directory, to recover if the next step doesn't work)
3. sudo dpkg-reconfigure locales
After that, gnome-language-selector works.
I ran into the same problem after upgrading an x86_64 desktop machine from hardy to lucid, and then I remembered that
I had previously generated my own locales by editing /var/lib/ locales/ supported. d/local.
What fixed the issue for me was:
1. Deleting /var/lib/ locales/ supported. d/local
2. Deleting /usr/lib/locales/* (you may want to backup the data in this directory, to recover if the next step doesn't work)
3. sudo dpkg-reconfigure locales
After that, gnome-language- selector works.