From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5569 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Locale bikeshed time Date: Wed, 23 Jul 2014 17:01:20 -0400 Message-ID: <20140723210120.GD11570@brightrain.aerifal.cx> References: <20140722184932.GA4914@brightrain.aerifal.cx> <20140722201008.GC16795@example.net> <20140722203540.GA11570@brightrain.aerifal.cx> <20140723095031.GE16795@example.net> <20140723163907.GC11570@brightrain.aerifal.cx> <20140723192503.GG16795@example.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1406149304 4712 80.91.229.3 (23 Jul 2014 21:01:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2014 21:01:44 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5574-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 23 23:01:37 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XA3fJ-0001a2-V3 for gllmg-musl@plane.gmane.org; Wed, 23 Jul 2014 23:01:34 +0200 Original-Received: (qmail 14280 invoked by uid 550); 23 Jul 2014 21:01:32 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 14272 invoked from network); 23 Jul 2014 21:01:32 -0000 Content-Disposition: inline In-Reply-To: <20140723192503.GG16795@example.net> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:5569 Archived-At: On Wed, Jul 23, 2014 at 09:25:03PM +0200, u-igbb@aetey.se wrote: > On Wed, Jul 23, 2014 at 12:39:07PM -0400, Rich Felker wrote: > > My leaning would be to use complete > > files for language-based locales, and file-per-category for individual > > category locales that are not associated with any particular language > > (and where, thereby, there's no assumption that they should provide > > any behavior to other categories). > > This feels appropriate - if the definitions indeed fall into distinctive > classes like "full" / "single-category" and also if the naming reflects > the distinction (keeping objects with different properties in the same > name space is otherwise harmful, among others harmful for ease of > understanding by the prospective users and administrators). IMO language-based locales should be ll, lll, ll_TT, or lll_TT form where ll or lll is lowercase ISO language code and TT is uppercase territory code. Non-language-based locale files should avoid these patterns. Rich