From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127977 invoked by alias); 1 Oct 2019 19:45:49 -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 127909 invoked by uid 89); 1 Oct 2019 19:45:49 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.8 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.1 spammy=letter, H*r:sk:bug-gli X-HELO: eggs.gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lingonborough.com; s=1568761524.internal; t=1569959136; bh=iTGRgR2MLa3/mLFFPSDrr7swhTLmU3SHiiEMCPRAeag=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=Skh7jd6KX2Jg82pjiZZ5py3KAIJ7gToZbl7g7URKS1rveWGNLUSAE+aBzotNC+A65 ovDS9Tri3xIMWnisU4galdBXO5GzfAlBbOV0xSivRY19LuOciDzl0TY11m8xXTRaVD Te+1k1YGvMkuCr/M1j1uRw0H90yIgHxwomq3HAFnNDYGCz4Hdb5aqs7QePZw7Feyjv GVEUlilMlw2LBe+rkdAekd6WP87hiBajV5GrbUvuew0xWeODz2G/DZPhT2xGzlkByf 0sWOelRGFxT+uLST/T05h+5wUzaVJH4/2ES1k4FRr85G80cuUBze2dmibDDq7bTw8B ZZCseUBNUc9dg== Date: Tue, 01 Oct 2019 19:45:00 -0000 From: Rafal Luzynski To: Keld Simonsen Cc: Mikhail Gribanov , libc-alpha@sourceware.org, bug-glibc-locales@gnu.org Message-ID: <1380310075.857991.1569959113276@poczta.nazwa.pl> In-Reply-To: <20190928173736.GA12877@rap.rap.dk> References: <1260007467.786529.1569624500330@poczta.nazwa.pl> <20190928173736.GA12877@rap.rap.dk> Subject: Re: Incorrect days of the week in ru_UA locale MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 85.128.223.163 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-SW-Source: 2019-q4/txt/msg00001.txt.bz2 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. 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. 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. Best regards, Rafal