public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* Updates for it_IT locale
@ 2021-12-02  9:54 Salonia Matteo
  2021-12-02 10:02 ` Salonia Matteo
  0 siblings, 1 reply; 2+ messages in thread
From: Salonia Matteo @ 2021-12-02  9:54 UTC (permalink / raw)
  To: libc-locales


[-- Attachment #1.1: Type: text/plain, Size: 681 bytes --]

Greetings,
I have noticed glibc's it_IT locale has quite a few mistakes:

-   Abbreviated and Full week days (e.g. Monday/Lunedì) do not have a capital letter (should be Lunedì but it is lunedì)
-   Abbreviated and Full months have the same problem as above, e.g. gennaio should be Gennaio
-   Language name (lang_name) still has the same problem as above (italiano instead of Italiano)

This bug is not present in other locales, as far as I know.
Latest source check date: 02/12/2021 @ 10:45
Version found in version.h: "2.34.9000" (development)

I have made the following patch: fix-italian.patch (you can find it in the attachments)
Here's a preview:
[patch.png]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Updates for it_IT locale
  2021-12-02  9:54 Updates for it_IT locale Salonia Matteo
@ 2021-12-02 10:02 ` Salonia Matteo
  0 siblings, 0 replies; 2+ messages in thread
From: Salonia Matteo @ 2021-12-02 10:02 UTC (permalink / raw)
  To: libc-locales


[-- Attachment #1.1: Type: text/plain, Size: 2771 bytes --]

Excuse me, I see the patch was not loaded properly; here it is inline:
PATCH_BEGIN

From: saloniamatteo <saloniamatteo@pm.me>
Date: Thu, 2 Dec 2021 10:00:00 +0100
Subject: Fix it_IT locale

Week days should be capitalized, not all lowercase.

diff --git a/localedata/locales/it_IT b/localedata/locales/it_IT
index 8a10545de0..089b2c3d25 100644
--- a/localedata/locales/it_IT
+++ b/localedata/locales/it_IT
@@ -93,35 +93,35 @@ grouping                  3;3
 END LC_NUMERIC

 LC_TIME
-abday   "dom";"lun";/
-	"mar";"mer";/
-	"gio";"ven";/
-	"sab"
-day     "domenica";/
-	"luned<U00EC>";/
-	"marted<U00EC>";/
-	"mercoled<U00EC>";/
-	"gioved<U00EC>";/
-	"venerd<U00EC>";/
-	"sabato"
-abmon   "gen";"feb";/
-	"mar";"apr";/
-	"mag";"giu";/
-	"lug";"ago";/
-	"set";"ott";/
-	"nov";"dic"
-mon     "gennaio";/
-	"febbraio";/
-	"marzo";/
-	"aprile";/
-	"maggio";/
-	"giugno";/
-	"luglio";/
-	"agosto";/
-	"settembre";/
-	"ottobre";/
-	"novembre";/
-	"dicembre"
+abday   "Dom";"Lun";/
+	"Mar";"Mer";/
+	"Gio";"Ven";/
+	"Sab"
+day     "Domenica";/
+	"Luned<U00EC>";/
+	"Marted<U00EC>";/
+	"Mercoled<U00EC>";/
+	"Gioved<U00EC>";/
+	"Venerd<U00EC>";/
+	"Sabato"
+abmon   "Gen";"Feb";/
+	"Mar";"Apr";/
+	"Mag";"Giu";/
+	"Lug";"Ago";/
+	"Set";"Ott";/
+	"Nov";"Dic"
+mon     "Gennaio";/
+	"Febbraio";/
+	"Marzo";/
+	"Aprile";/
+	"Maggio";/
+	"Giugno";/
+	"Luglio";/
+	"Agosto";/
+	"Settembre";/
+	"Ottobre";/
+	"Novembre";/
+	"Dicembre"
 d_t_fmt "%a %-d %b %Y, %T"
 d_fmt   "%d//%m//%Y"
 t_fmt   "%T"
@@ -158,7 +158,7 @@ country_ab3 "ITA"
 country_num 380
 country_isbn "978-88,979-12"
 country_car  "I"
-lang_name    "italiano"
+lang_name    "Italiano"
 lang_ab      "it"
 lang_term    "ita"
 lang_lib    "ita"

PATCH_END

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Thursday, December 2nd, 2021 at 10:54 AM, Salonia Matteo via Libc-locales <libc-locales@sourceware.org> wrote:

> Greetings,
> 

> I have noticed glibc's it_IT locale has quite a few mistakes:
> 

> -   Abbreviated and Full week days (e.g. Monday/Lunedì) do not have a capital letter (should be Lunedì but it is lunedì)
> -   Abbreviated and Full months have the same problem as above, e.g. gennaio should be Gennaio
> -   Language name (lang_name) still has the same problem as above (italiano instead of Italiano)
>     

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

>     Latest source check date: 02/12/2021 @ 10:45
>     

>     Version found in version.h: "2.34.9000" (development)
>     

>     I have made the following patch: fix-italian.patch (you can find it in the attachments)
>     

>     Here's a preview:
>     

>     [patch.png]

[-- Attachment #1.2: publickey - saloniamatteo@protonmail.com - 0x1E3B0A53.asc --]
[-- Type: application/pgp-keys, Size: 753 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-02 10:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-02  9:54 Updates for it_IT locale Salonia Matteo
2021-12-02 10:02 ` Salonia Matteo

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).