This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Incorrect days of the week in ru_UA locale
- From: Rafal Luzynski <digitalfreak at lingonborough dot com>
- To: Keld Simonsen <keld at keldix dot com>
- Cc: Mikhail Gribanov <mikhail dot gribanov at gmail dot com>, libc-alpha at sourceware dot org, bug-glibc-locales at gnu dot org
- Date: Tue, 1 Oct 2019 21:45:13 +0200 (CEST)
- Subject: Re: Incorrect days of the week in ru_UA locale
- References: <CAAw3sAQHZn++JjSYEYzkk8G3a_v5Oi2+eO1hT4rmwbGE7-eGXQ@mail.gmail.com> <1260007467.786529.1569624500330@poczta.nazwa.pl> <20190928173736.GA12877@rap.rap.dk>
28.09.2019 19:37 Keld Simonsen <keld@keldix.com> 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