public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
From: Keld Simonsen <keld@keldix.com>
To: bugdal at aerifal dot cx <sourceware-bugzilla@sourceware.org>
Cc: libc-locales@sourceware.org
Subject: Re: [Bug localedata/14641] Deprecate name_fmt
Date: Fri, 20 Jun 2014 05:48:00 -0000	[thread overview]
Message-ID: <20140620054757.GA25354@rap.rap.dk> (raw)
In-Reply-To: <bug-14641-716-Ygj9nZCVmV@http.sourceware.org/bugzilla/>

On Tue, Jun 17, 2014 at 05:08:15PM +0000, bugdal at aerifal dot cx wrote:
> https://sourceware.org/bugzilla/show_bug.cgi?id=14641
> 
> --- Comment #17 from Rich Felker <bugdal at aerifal dot cx> ---
> There are two different arguments for deprecation of name_fmt that can be made
> based on comments in this pr:
> 
> 1. Imposing a structure of first name, middle name, last name, etc. on names is
> itself a cultural convention that's far from universal. Providing a
> culture-specific way to format these poorly-thought-out name components into a
> combined string does not solve the problem of making a program compatible with
> diverse cultural conventions since such storage is already wrongly imposing
> particular conventions.

Well, the LC_MAME category was designed on research on very many countries and cultures. 
Do you have examples where this does not work?

We also have some areas which do not always work culturally, for example 
dates, where we do not cover the islamic calender. Era calenders
are not covered either.

> 2. Locales should deal with the cultural conventions of the user's cultural
> environment, not the conventions associated with a particular piece of data.

Well, then we should have a look on who is actually the user.
In the case of names you could regard the receiver of a letter as the final user.

The LC_NAME (and LC_ADDTESS) category addresses a real need for providing
culturally acceptable software. Really many cultures use the Family name,
first name convention, which is offending to me for my name. The world is rather
split in two halves on the order of given name and family name.

The same with the other categories. They can be used to format culturally
correct data for really many cultures. But they are not fully complete
to cover all of the circumstances in the world. I would say that LC_TIME
is worse off than LC_NAME in the percentage of cases in the world it covers.


> Of these, #1 only applies directly to name_fmt. If similar arguments apply to
> other items, that may be a good argument for their deprecation, but that would
> be a separate discussion. Argument #2 on the other hand applies to a much
> broader class of items, but I think it's also less clear-cut that it's correct.
> With the existence of uselocale/locale_t and de-facto conventions for locale
> names, one could argue that it's reasonable to use the locale system for
> dealing with data records where each record has associated with it a cultural
> context in which it's to be interpreted. I think this is probably a bad design
> (for example, many systems omit installation of all locales except the user's,
> which would affect what data they can process, and having a full locale
> installation is a lot more costly than just having external data on
> country-code-specific telephone number formatting, etc.) but I can see where
> some people would prefer it.

The locale data does occupy quite some space. But in these days
disk space is pretty cheap, except for the telephones. If we only install the
locale data itself, and not all the message catalogues, then the extra cost is reasonable.
glibc is not installed normally on android anyway. 

I don't know how many apps are using the LC_NAME category, but I estimate it is not
many. I could see it handy in an address book, or telephone directory. And also in a word
processing environment, for writing letters. I think what we have in LC_NAME is the
best information in the market, and thus it gives glibc and edge. 
For the users that use the data it is really good that it is supported. 

Best regards
Keld

  reply	other threads:[~2014-06-20  5:48 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-28 11:50 [Bug localedata/14641] New: Add a strftime()-like function for formatting human names bugzilla at tecnocode dot co.uk
2012-09-28 12:05 ` Keld Simonsen
2012-09-28 12:41 ` [Bug localedata/14641] " keld at keldix dot com
2012-09-28 12:41 ` bugdal at aerifal dot cx
2013-11-06 13:01 ` simon.mcvittie at collabora dot co.uk
2013-11-06 15:13 ` bugdal at aerifal dot cx
2013-11-06 16:12 ` simon.mcvittie at collabora dot co.uk
2013-11-06 16:33 ` bugdal at aerifal dot cx
2013-11-06 23:57   ` Keld Simonsen
2013-11-06 23:58 ` neleai at seznam dot cz
2013-11-06 23:58 ` keld at keldix dot com
2013-11-07  3:16 ` bugdal at aerifal dot cx
2013-11-07 12:29   ` Keld Simonsen
2013-11-07 12:30 ` keld at keldix dot com
2013-11-07 15:27 ` bugdal at aerifal dot cx
2013-11-07 19:02   ` Keld Simonsen
2013-11-07 19:03 ` keld at keldix dot com
2014-06-17  4:30 ` fweimer at redhat dot com
2014-06-17  7:33 ` [Bug localedata/14641] Deprecate name_fmt bugzilla at tecnocode dot co.uk
2014-06-17  7:49 ` fweimer at redhat dot com
2014-06-17 16:54   ` Keld Simonsen
2014-06-17 17:03 ` keld at keldix dot com
2014-06-17 17:09 ` bugdal at aerifal dot cx
2014-06-20  5:48   ` Keld Simonsen [this message]
2014-06-19 22:48 ` bugzilla at tecnocode dot co.uk
2014-06-20  5:50 ` keld at keldix dot com
2014-06-20  7:28 ` bugdal at aerifal dot cx
2014-06-20 11:03   ` Keld Simonsen
2014-06-20 11:05 ` keld at keldix dot com
2014-06-20 13:22 ` bugzilla at tecnocode dot co.uk
2014-06-21 18:35   ` Keld Simonsen
2014-06-21 18:37 ` keld at keldix dot com
2014-06-23  8:21 ` fweimer at redhat dot com
2014-06-23 13:01   ` Keld Simonsen
2014-06-23 13:04 ` keld at keldix dot com
2014-06-23 21:07   ` Keld Simonsen
2014-06-23 21:08 ` myllynen at redhat dot com
2014-06-23 21:08 ` keld at keldix dot com
2014-06-23 21:57 ` bugdal at aerifal dot cx
2014-06-23 22:12   ` Keld Simonsen
2014-06-23 22:13 ` keld at keldix dot com
2014-06-24  7:40 ` fweimer at redhat dot com
2016-02-19 10:46 ` [Bug localedata/14641] LC_NAME: deprecate locale category vapier at gentoo dot org
2016-02-19 15:42 ` myllynen at redhat dot com
2016-02-19 16:15 ` vapier at gentoo dot org
2016-02-19 18:29   ` Keld Simonsen
2016-02-19 18:33 ` keld at keldix dot com
2016-02-19 23:22 ` vapier at gentoo dot org
2016-02-19 23:26   ` Keld Simonsen
2016-02-19 23:27 ` keld at keldix dot com
2016-02-20  6:07 ` vapier at gentoo dot org
2016-02-22  8:10   ` Keld Simonsen
2016-02-22  8:12 ` keld at keldix dot com
2016-02-22 10:13 ` vapier at gentoo dot org
2019-01-02 11:59   ` Keld Simonsen
2018-12-20  8:38 ` pander at users dot sourceforge.net
2018-12-20  9:52 ` pander at users dot sourceforge.net
2019-01-01 11:42 ` pander at users dot sourceforge.net
2019-01-02 11:59 ` keld at keldix dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140620054757.GA25354@rap.rap.dk \
    --to=keld@keldix.com \
    --cc=libc-locales@sourceware.org \
    --cc=sourceware-bugzilla@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).