Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46170 - Add a reference to 'localedef' in the Localisation Guide for manual build of missing glibc locales
Summary: Add a reference to 'localedef' in the Localisation Guide for manual build of ...
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Localisation Guide (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/guide-lo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-29 14:32 UTC by Ylosar Goer
Modified: 2004-04-11 06:50 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 Ylosar Goer 2004-03-29 14:32:49 UTC
It may be of interrest to add a reference to localedef for people who have to use a non 'default' locale like en_US.ISO-8859-15, with a sample like : do 'localedef -c -i en_US -f ISO-8859-15 en_US.ISO-8859-15' to generate your favorite locale.

Reproducible: Always
Steps to Reproduce:
1. [fresh install]
2. follow the localisation guide and #export LANG=en_US.ISO-8859-15
3. #locale

Actual Results:  
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory


Expected Results:  
the guide should talk about manual generation of the missing locale through
localedef
Comment 1 Gabriel Ebner 2004-04-04 10:03:02 UTC
IMO it would be better to include locale-gen from debian.
Then you'd just have to add 'en_US.ISO-8859-15 ISO-8859-15' to the config file and rerun.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2004-04-11 06:50:27 UTC
I've added the localedef instruction to the localisation guide. It's of course just a matter of opinion what the best way is, I just opted to include at least one so I can fix this bug :)

Committed to CVS. Thanks for reporting.