public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
From: "maiku.fabian at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: libc-locales@sourceware.org
Subject: [Bug localedata/28643] it_IT: Days and Months do not have an uppercase letter
Date: Thu, 16 Nov 2023 13:57:16 +0000	[thread overview]
Message-ID: <bug-28643-716-e3wrIfBMCP@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-28643-716@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=28643

--- Comment #1 from Mike FABIAN <maiku.fabian at gmail dot com> ---
They are not capitalized in CLDR either:

https://github.com/unicode-org/cldr/blob/main/common/main/it.xml#L1848
        <dayWidth type="wide">
                <day type="sun">domenica</day>
                <day type="mon">lunedì</day>
                <day type="tue">martedì</day>
                <day type="wed">mercoledì</day>
                <day type="thu">giovedì</day>
                <day type="fri">venerdì</day>
                <day type="sat">sabato</day>
        </dayWidth>

As far as I know, the capitalization of these words in Italian depends on
whether they appear at the beginning of a sentence or not.

    Gennaio è il primo mese dell'anno.
    Oggi è lunedì.
    L'italiano è una lingua bellissima.

So if they are usually not capitalized but only at the beginning of sentences,
then maybe the application using this data should
do the capitalization?

For example, maybe `cal` should capitalize here because these names appear "at
the beginning"?:

$ LC_ALL=it_IT.UTF-8 cal 
    novembre 2023   
lu ma me gi ve sa do
       1  2  3  4  5
 6  7  8  9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30

On the other hand, maybe almost all uses of this data in glibc are not within a
sentence, so maybe capitalizing always is OK?


> This bug is not present in other locales, as far as I know.

Currently many locales don’t have these capitalized:

glibc/localedata/locales (master $)
$ grep day  fr_FR es_ES
fr_FR:abday   "dim.";"lun.";"mar.";"mer.";"jeu.";"ven.";"sam."
fr_FR:day     "dimanche";/
fr_FR:first_weekday 2
es_ES:abday   "dom";"lun";/
es_ES:day     "domingo";/
es_ES:first_weekday   2

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2023-11-16 13:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02 11:23 [Bug localedata/28643] New: " saloniamatteo at protonmail dot com
2021-12-02 11:23 ` [Bug localedata/28643] " saloniamatteo at protonmail dot com
2021-12-02 11:24 ` saloniamatteo at protonmail dot com
2023-11-16 13:23 ` maiku.fabian at gmail dot com
2023-11-16 13:57 ` maiku.fabian at gmail dot com [this message]
2023-11-21 16:00 ` maiku.fabian at gmail 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=bug-28643-716-e3wrIfBMCP@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libc-locales@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).