Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29075 - Additions to the i18n docs
Summary: Additions to the i18n docs
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Sergey Kuleshov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-19 02:35 UTC by klavs klavsen
Modified: 2005-07-21 10:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description klavs klavsen 2003-09-19 02:35:25 UTC
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.
Comment 1 Sergey Kuleshov (RETIRED) gentoo-dev 2003-09-30 11:18:52 UTC
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.
Comment 2 klavs klavsen 2003-09-30 23:22:46 UTC
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.
Comment 3 Jan Kundrát (RETIRED) gentoo-dev 2005-07-21 10:37:56 UTC
Our Gentoo Linux Localization Guide 
(http://www.gentoo.org/doc/en/guide-localization.xml) covers this topic.