Hi guys, I just went through a new Gentoo installation for one of my machines, and found the missing I18N info in the install docs very unfortunate. Luckily someone pointed me to the i18n docs, but IMHO there should be a link to I18N in the installation docs, as it is a very big part of getting your system installed to a workable state. I just read the I18n docs - they are missing quite a bit of info to be useful. First off - I DON'T set LANG vars in /etc/rc.conf - that is ugly - and IMHO not the best way of doing it. I created a /etc/env.d/02locale file containing: LC_CTYPE="da_DK" LESS_CHARSET='iso8859-1' LC_MEASUREMENT='da_DK' LC_TIME='da_DK' LC_MONETARY='da_DK' LC_NUMERIC='da_DK' LC_COLLATE='da_DK' LC_PAPER='da_DK' LC_NAME='da_DK' LC_ADDRESS='da_DK' LC_TELEPHONE='da_DK' MM_CHARSET=ISO_8859-1 #LANG=da_DK.ISO_8859-1 #LANGUAGE=${LANG} I uncommented the LANG/LANGUAGE vars, cause then I get danish keyboard, and programs that can print danish characters - but my system doesn't start speaking to me in Danish - which I hate - and which also decreases my chance of being able to google for the answer, based on an error message. Especially the LC_CTYPE has haunted me many a times - f.ex. Gaim just croaked when it got a danish character if I didn't have this var set to danish characters. I would suggest that this could be added as an Ebuild for each language (mutually exclusive ofcourse) - with the option of keeping the system language to english, while supporting selected language. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Actually you don't need to set all these vars separately. LC_ALL="da_DK-iso8859-1" will do it. Though I agree that link to localization guide should be added to the installation guide.
My experience tells me that only after adding LC_CTYPE=da_DK did all my programs support danish characters. Before that Gaim didn't send anything in a msg after the danish character - and Galeon also stopped printing the names in titles etc. after the danish character.
Our Gentoo Linux Localization Guide (http://www.gentoo.org/doc/en/guide-localization.xml) covers this topic.