http://bugs.linuxfromscratch.org/show_bug.cgi?id=1642

           Summary: Locale selection instructions are still incorrect
           Product: Linux From Scratch
           Version: 6.1.1
          Platform: PC
               URL: http://www.linuxfromscratch.org/lfs/view/6.1/chapter07/p
                    rofile.html
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Book
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]


Hello,

Our instructions lead to selection of e.g. [EMAIL PROTECTED] locale that
Xlib doesn't like. I propose to:

1) Add installation of /usr/share/i18n/SUPPORTED file to glibc page. Suggested 
text:

==========================
With both methods of locale installation, it is a good idea to copy the list of
locales that Glibc maintainers declare as supported, for documentational 
purposes:

install -m644 ../glibc-2.3.4/localedata/SUPPORTED /usr/share/i18n
==========================

2) On the "The Bash Shell Startup Files" page, after the words "This results in
a final locale setting of “en_GB.ISO-8859-1”, add:

==========================
However, there are cases when the heuristic procedure outlined above produces
wrong results. E.g., unpatched Xlib doesn't accept the [EMAIL PROTECTED]
locale (use [EMAIL PROTECTED] in this case) and the message "Locale is not 
supported by
the X library" is printed. In such cases, try dropping the character set field
or modifiers, guessing, searching in Google, or looking into the
/usr/share/i18n/SUPPORTED file (the first slash-separated field). Verify
yourself by running the following commands:

LC_ALL=[locale name] locale country
LC_ALL=[locale name] locale language
LC_ALL=[locale name] locale charmap
LC_ALL=[locale name] locale int_curr_symbol
LC_ALL=[locale name] locale int_prefix

This should print the country and language names, the character encoding used by
the locale, the local currency and the prefix to dial before the telephone
number in order to get into the country. The commands above should give no 
errors.
==========================



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to