Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 46170

Summary: Add a reference to 'localedef' in the Localisation Guide for manual build of missing glibc locales
Product: [OLD] Docs-user Reporter: Ylosar Goer <gentoo.bugs.10>
Component: Localisation GuideAssignee: Sven Vermeulen (RETIRED) <swift>
Status: RESOLVED FIXED    
Severity: enhancement CC: docs-team
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/en/guide-localization.xml
Whiteboard:
Package list:
Runtime testing required: ---

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.