Re: [PATCH] localedata: bn_BD, bn_IN: use full Gregorian month names for abmon
Mike FABIAN <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Organization | Red Hat |
| Message-ID | <[email protected]> |
Azharul Haque <[email protected]> さんはかきました: > Bangla has no conventional abbreviated form for month names. The > existing abmon entries only truncated January and February ("জানু", > "ফেব"), while March through December were already spelled out in > full -- an inconsistent and non-standard %b output that native > speakers do not recognize as valid abbreviations. "জানু" is also an > unrelated, existing Bengali word meaning "knee". > > Use the full month name for abmon as well as mon in both bn_BD and > bn_IN, matching the informal convention already used for the other > ten months and consistent with CLDR's bn Gregorian calendar data, > which likewise leaves several months unabbreviated for the same > reason (see CLDR-19739, filed separately for the CLDR side of this: > https://unicode-org.atlassian.net/browse/CLDR-19739). > > Signed-off-by: Azharul Haque <[email protected]> > --- > localedata/locales/bn_BD | 7 ++++--- > localedata/locales/bn_IN | 6 ++++-- > 2 files changed, 8 insertions(+), 5 deletions(-) > > diff --git a/localedata/locales/bn_BD b/localedata/locales/bn_BD > index ac54923..7a22cd8 100644 > --- a/localedata/locales/bn_BD > +++ b/localedata/locales/bn_BD > @@ -107,9 +107,10 @@ day "রবিবার";/ > "শুক্রবার";/ > "শনিবার" > > -%janu febru march apri may jun jul aug septe octo nove dece > -abmon "জানু";/ > - "ফেব";/ > +% Bangla has no established convention for abbreviating month names, > +% so the abbreviated (%b) and full (%B) forms are the same. > +abmon "জানুয়ারী";/ > + "ফেব্রুয়ারী";/ > "মার্চ";/ > "এপ্রিল";/ > "মে";/ > diff --git a/localedata/locales/bn_IN b/localedata/locales/bn_IN > index 87afcf8..ac9fad0 100644 > --- a/localedata/locales/bn_IN > +++ b/localedata/locales/bn_IN > @@ -89,8 +89,10 @@ day "রবিবার";"সোমবার";/ > > % > % Abbreviated month names (%b) > -abmon "জানু";/ > - "ফেব";/ > +% Bangla has no established convention for abbreviating month names, > +% so the abbreviated (%b) and full (%B) forms are the same. > +abmon "জানুয়ারী";/ > + "ফেব্রুয়ারী";/ > "মার্চ";"এপ্রিল";/ > "মে";"জুন";/ > "জুলাই";"আগস্ট";/ Looks good to me. I am not sure where abmon is actually used, apparently not for the month names in `cal`. Without your patch: $ LC_ALL=bn_IN.UTF-8 locale -k abmon abmon="জানু;ফেব;মার্চ;এপ্রিল;মে;জুন;জুলাই;আগস্ট;সেপ্টেম্বর;অক্টোবর;নভেম্বর;ডিসেম্বর" $ LC_ALL=bn_IN.UTF-8 cal -y 2026 জানুয়ারী ফেব্রুয়ারী মার্চ রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 6 7 4 5 6 7 8 9 10 8 9 10 11 12 13 14 8 9 10 11 12 13 14 11 12 13 14 15 16 17 15 16 17 18 19 20 21 15 16 17 18 19 20 21 18 19 20 21 22 23 24 22 23 24 25 26 27 28 22 23 24 25 26 27 28 25 26 27 28 29 30 31 29 30 31 এপ্রিল মে জুন রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন 1 2 3 4 1 2 1 2 3 4 5 6 5 6 7 8 9 10 11 3 4 5 6 7 8 9 7 8 9 10 11 12 13 12 13 14 15 16 17 18 10 11 12 13 14 15 16 14 15 16 17 18 19 20 19 20 21 22 23 24 25 17 18 19 20 21 22 23 21 22 23 24 25 26 27 26 27 28 29 30 24 25 26 27 28 29 30 28 29 30 31 জুলাই আগস্ট সেপ্টেম্বর রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন 1 2 3 4 1 1 2 3 4 5 5 6 7 8 9 10 11 2 3 4 5 6 7 8 6 7 8 9 10 11 12 12 13 14 15 16 17 18 9 10 11 12 13 14 15 13 14 15 16 17 18 19 19 20 21 22 23 24 25 16 17 18 19 20 21 22 20 21 22 23 24 25 26 26 27 28 29 30 31 23 24 25 26 27 28 29 27 28 29 30 30 31 অক্টোবর নভেম্বর ডিসেম্বর রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 4 5 6 7 8 9 10 8 9 10 11 12 13 14 6 7 8 9 10 11 12 11 12 13 14 15 16 17 15 16 17 18 19 20 21 13 14 15 16 17 18 19 18 19 20 21 22 23 24 22 23 24 25 26 27 28 20 21 22 23 24 25 26 25 26 27 28 29 30 31 29 30 27 28 29 30 31 And with your patch: bash-5.3# LC_ALL=bn_IN.UTF-8 locale -k abmon abmon="জানুয়ারী;ফেব্রুয়ারী;মার্চ;এপ্রিল;মে;জুন;জুলাই;আগস্ট;সেপ্টেম্বর;অক্টোবর;নভেম্বর;ডিসেম্বর" bash-5.3# LC_ALL=bn_IN.UTF-8 cal -y 2026 জানুয়ারী ফেব্রুয়ারী মার্চ রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 6 7 4 5 6 7 8 9 10 8 9 10 11 12 13 14 8 9 10 11 12 13 14 11 12 13 14 15 16 17 15 16 17 18 19 20 21 15 16 17 18 19 20 21 18 19 20 21 22 23 24 22 23 24 25 26 27 28 22 23 24 25 26 27 28 25 26 27 28 29 30 31 29 30 31 এপ্রিল মে জুন রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন 1 2 3 4 1 2 1 2 3 4 5 6 5 6 7 8 9 10 11 3 4 5 6 7 8 9 7 8 9 10 11 12 13 12 13 14 15 16 17 18 10 11 12 13 14 15 16 14 15 16 17 18 19 20 19 20 21 22 23 24 25 17 18 19 20 21 22 23 21 22 23 24 25 26 27 26 27 28 29 30 24 25 26 27 28 29 30 28 29 30 31 জুলাই আগস্ট সেপ্টেম্বর রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন 1 2 3 4 1 1 2 3 4 5 5 6 7 8 9 10 11 2 3 4 5 6 7 8 6 7 8 9 10 11 12 12 13 14 15 16 17 18 9 10 11 12 13 14 15 13 14 15 16 17 18 19 19 20 21 22 23 24 25 16 17 18 19 20 21 22 20 21 22 23 24 25 26 26 27 28 29 30 31 23 24 25 26 27 28 29 27 28 29 30 30 31 অক্টোবর নভেম্বর ডিসেম্বর রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন রব সো মঙ্ বুধ বৃহ শুক্ শন 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 4 5 6 7 8 9 10 8 9 10 11 12 13 14 6 7 8 9 10 11 12 11 12 13 14 15 16 17 15 16 17 18 19 20 21 13 14 15 16 17 18 19 18 19 20 21 22 23 24 22 23 24 25 26 27 28 20 21 22 23 24 25 26 25 26 27 28 29 30 31 29 30 27 28 29 30 31 bash-5.3# But your patch looks fine and I just committed it. It is good that you reported that to CLDR as well, we would like to keep the locale data in glibc and CLDR in sync if possible. -- Mike FABIAN <[email protected]> He/Him/His 睡眠不足はいい仕事の敵だ。