Mark Knecht wrote:
Thanks for joining in. I have mucho craziness in these directories! /usr/share/locale has way too much stuff, but it doesn't have what I want. It's missing en_US.utf8 and en_US.ISO8859-1. Also, all of what I think are the font files are in a directory called charmaps, not charsets, like yours: (This is an AMD64 machine so maybe that's part of the difference?)
No, those are mistakes on my part, I was working from memory, and my memory apparently sucks :\
The folders you should be looking at are the locales and charmaps directories, as you found. Also, you may not have anything in /usr/share/locales for the en_US stuff, since it's the default language and doesn't usually need translation.
Now that I'm physically at my Gentoo desktop, here's what I have: apollo ~ # cat /etc/locale.gen en_US.UTF-8 UTF-8 apollo ~ # ls /usr/share/i18n/locales/en_US* /usr/share/i18n/locales/en_US apollo ~ # ls /usr/share/i18n/charmaps/UTF* /usr/share/i18n/charmaps/UTF-8.gz apollo ~ # locale-gen -l en_US.UTF-8 apollo ~ # cat /etc/env.d/02locale LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" GDM_LANG="en_US.UTF-8"
Before I do something stupid, can I erase all this /usr/share stuff by hand, then re-emerge glibc, rerun locale-gen to get the right stuff. I suspect that since I had weird settings in make.conf, now fixed with Dale's help, that now if I re-emerge glibc maybe I'll get the right stuff?
I wouldn't erase anything unless you're concerned about disk space. The items in i18n are installed by default by glibc. The extra items in the locale folder may have been installed by an ebuild that isn't LINGUAS aware -- those folders contain the translated user interface messages. Having extras around shouldn't hurt anything.