This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/18408] Provide software utility to permit user created custom locales


https://sourceware.org/bugzilla/show_bug.cgi?id=18408

--- Comment #25 from James B. Byrne <byrnejb@harte-lyne.ca> ---

On Mon, June 22, 2015 09:12, myllynen at redhat dot com wrote:
> 
> These should already be covered by localedef(1) and other pages,
> if you think something is missing perhaps you could describe the
> issue in detail or even provide a patch / adjust the wiki page?
> 

This is the current man page that ships with my distro, CentOS-6.  As you can
see there is no reference to glibc or to localedef.  The point being is that
without prior knowledge of the relationship between LOCALE and these other
elements there is no clue to a researcher as to where to look further.

I searched Google quite extensively to discover the bare existence of
localedef.  But when I searched for a man page for it all I could find was some
private effort at an unofficial version, the reference to I have since
misplaced.  But, that page did point me to this:
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_03

Further, I note that the references you now helpfully provide are all dated as
of December 2014 or later. Which, strangely enough, postdates my original
reports on this matter by a little over two years.  One might be forgiven in
surmising that perhaps the availability of these documents in their current
form is a consequence thereof rather than a failure to initially search for
them.

However, the entire process of establishing on Linux what is fundamentally a
user preference is Byzantine to the point of ludicrous.

LOCALE(1)                                                            LOCALE(1)

NAME
       locale - Get locale-specific information.

SYNOPSIS
       locale [ -a â -m]

       locale [ -ck ] name...

DESCRIPTION
       The locale program writes information about the current locale
       environment, or all locales, to standard output.

       When invoked without arguments, locale summarizes the current locale
       environment for each locale category defined by the LC_* environment
       variables.

       -a, --all-locales

               Write names of available locales.

       -m, --charmaps

               Write names of available charmaps.

       Output Format:

       -c, --category-name

               Write names of selected categories.

       -k, --keyword-name

               Write names and values of selected keywords.

ENVIRONMENT VARIABLES
       LC_CTYPE

               Character classification and case conversion.

       LC_COLLATE

               Collation order.

       LC_TIME

               Date and time formats.

       LC_NUMERIC

               Non-monetary numeric formats.

       LC_MONETARY

               Monetary formats.

       LC_MESSAGES

               Formats of informative and diagnostic messages and
               interactive responses.

AUTHOR
       locale is written by Ulrich Drepper for the GNU C Library.

       This manpage is written by Joel Klecker <espy@debian.org> for the
       Debian GNU/Linux system.

3rd Berkeley Distribution         March 2001                         LOCALE(1)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]