From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103646 invoked by alias); 1 Oct 2019 20:54:56 -0000 Mailing-List: contact libc-locales-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-locales-owner@sourceware.org Received: (qmail 103542 invoked by uid 89); 1 Oct 2019 20:54:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=unavailable version=3.3.1 spammy=H*r:sk:DHE_RSA, HX-detected-operating-system:2.6.x, letter, H*r:sk:bug-gli X-HELO: eggs.gnu.org Date: Tue, 01 Oct 2019 20:54:00 -0000 From: Keld Simonsen To: Rafal Luzynski Cc: Mikhail Gribanov , libc-alpha@sourceware.org, bug-glibc-locales@gnu.org Subject: Re: Incorrect days of the week in ru_UA locale Message-ID: <20191001205442.GB12438@www5.open-std.org> References: <1260007467.786529.1569624500330@poczta.nazwa.pl> <20190928173736.GA12877@rap.rap.dk> <1380310075.857991.1569959113276@poczta.nazwa.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1380310075.857991.1569959113276@poczta.nazwa.pl> User-Agent: Mutt/1.4.2.2i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 93.90.116.65 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-SW-Source: 2019-q4/txt/msg00002.txt.bz2 On Tue, Oct 01, 2019 at 09:45:13PM +0200, Rafal Luzynski wrote: > 28.09.2019 19:37 Keld Simonsen wrote: > > > > I think we should use lowercase that is what we do with manuyothe european > > locales > > and it is the culturally correct form > > > > keld > > Thank you for your feedback, Keld. Unfortunately, as a native speaker > of one of those languages I must say that this is more complex. > Indeed, names of the weeks and months are usually lowercase but > when they appear in the beginning of a sentence they are uppercase. > I am afraid that a name of a weekday more often appears in the beginning > of the sentence than in the middle. To the extent that some locales > prefer the weekday and/or month names to start with the uppercase. I am also a native speaker of one of those languages, Danish, and moreover I was the initial contributer of about 60 of the locales incl ru_RU, that Urich Drepper picked up for glibc. I am also the editor of ISO 14652 and ISO 30112 that provided extensions beyond Posix i18n functionality, and I provide guidance for their use. My advice is that this bad policy to have wrongly capitalized names here. > What we actually need is a new format modifier to control the first > letter being uppercase/lowercase. Currently we have only "^" to convert > whole substring (e.g., a weekday name) to uppercase, and "#" to swap > the upper/lowercase. It was discussed in the past, there is a bug > report and a proposal to ensure that "^#" works as a converter to > lowercase but this is not enough because I would like to see one more > format modifier to convert to titlecase (that is: the first letter > being uppercase). I would be happy to work on that problem but > it is a separate case and would need more discussion. I agree with you, and it has been my plan as editor of ISO 30112 to add functionality along the lines that you suggest, without having a firm propoal. > Back about the main problem, I would like to post a patch which would > be the best explanation what I mean in this particular case. What would it say? keld