public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* Bug in the i18n pt_BR file
@ 2020-01-29  7:01 João Pinto
  2020-01-29 16:06 ` Tulio Magno Quites Machado Filho
  0 siblings, 1 reply; 3+ messages in thread
From: João Pinto @ 2020-01-29  7:01 UTC (permalink / raw)
  To: bug-glibc-locales

Hi, I'm João Pinto from Brazil and I'd like to report a bug in the
i18n pt_BR locale file. The capitalizations on the months and the week
days were wrong, so I fixed them in the file that I'm sending annexed
to this email. If you guys were so nice to replace the current file
with my corrections I'd be very grateful.

Best regards, João Pinto.


comment_char %
escape_char /

% This file is part of the GNU C Library and contains locale data.
% The Free Software Foundation does not claim any copyright interest
% in the locale data contained in this file.  The foregoing does not
% affect the license of the GNU C Library as a whole.  It does not
% exempt you from the conditions of the license if your use would
% otherwise be governed by that license.

% Portuguese Language Locale for Brasil
% Source: RAP
% Address: Sankt Jo//rgens Alle 8
%    DK-1615 Ko//benhavn V, Danmark
% Contact: Keld Simonsen
% Email: Keld.Simonsen@dkuug.dk
% Tel: +45 - 31226543
% Fax: +45 - 33256543
% Language: pt
% Territory: BR
% Revision: 4.4
% Date: 1997-03-19
% Users: general

LC_IDENTIFICATION
title      "Portuguese locale for Brasil"
source     "RAP"
address    "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark"
contact    ""
email      "bug-glibc-locales@gnu.org"
tel        ""
fax        ""
language   "Brazilian Portuguese"
territory  "Brazil"
revision   "1.0"
date       "2000-06-29"

category "i18n:2012";LC_IDENTIFICATION
category "i18n:2012";LC_CTYPE
category "i18n:2012";LC_COLLATE
category "i18n:2012";LC_TIME
category "i18n:2012";LC_NUMERIC
category "i18n:2012";LC_MONETARY
category "i18n:2012";LC_MESSAGES
category "i18n:2012";LC_PAPER
category "i18n:2012";LC_NAME
category "i18n:2012";LC_ADDRESS
category "i18n:2012";LC_TELEPHONE
category "i18n:2012";LC_MEASUREMENT
END LC_IDENTIFICATION

LC_COLLATE
copy "iso14651_t1"
END LC_COLLATE

LC_MESSAGES
yesexpr "^[+1SsyY]"
noexpr  "^[-0nN]"
yesstr  "sim"
nostr   "n<U00E3>o"
END LC_MESSAGES

LC_MONETARY
int_curr_symbol           "BRL "
currency_symbol           "R$"
mon_decimal_point         ","
mon_thousands_sep         "."
mon_grouping              3;3
positive_sign             ""
negative_sign             "-"
int_frac_digits           2
frac_digits               2
p_cs_precedes             1
p_sep_by_space            1
n_cs_precedes             1
n_sep_by_space            1
p_sign_posn               1
n_sign_posn               1
END LC_MONETARY

LC_CTYPE
copy "pt_PT"
END LC_CTYPE

LC_NUMERIC
decimal_point             ","
thousands_sep             "."
grouping                  3;3
END LC_NUMERIC

LC_TIME
abday   "Dom";"Seg";/
    "Ter";"Qua";/
    "Qui";"Sex";/
    "S<U00E1>b"
day     "Domingo";/
    "Segunda";/
    "Ter<U00E7>a";/
    "Quarta";/
    "Quinta";/
    "Sexta";/
    "S<U00E1>bado"
abmon   "Jan";"Fev";/
    "Mar";"Abr";/
    "Mai";"Jun";/
    "Jul";"Ago";/
    "Set";"Out";/
    "Nov";"Dez"
mon     "Janeiro";/
    "Fevereiro";/
    "Mar<U00E7>o";/
    "Abril";/
    "Maio";/
    "Junho";/
    "Julho";/
    "Agosto";/
    "Setembro";/
    "Outubro";/
    "Novembro";/
    "Dezembro"
d_t_fmt "%a %d %b %Y %T %Z"
d_fmt   "%d//%m//%Y"
t_fmt   "%T"
am_pm   "";""
t_fmt_ampm ""
week 7;19971130;1
END LC_TIME

LC_PAPER
copy "i18n"
END LC_PAPER

LC_TELEPHONE
tel_int_fmt    "+%c %a %l"
int_prefix     "55"
int_select     "00"
END LC_TELEPHONE

LC_MEASUREMENT
copy "i18n"
END LC_MEASUREMENT

LC_NAME
name_fmt    "%d%t%g%t%m%t%f"
END LC_NAME

LC_ADDRESS
postal_fmt   "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
country_name "Brasil"
country_ab2  "BR"
country_ab3  "BRA"
country_num  076
country_car  "BR"
% português
lang_name    "Portugu<U00EA>s"
lang_ab      "pt"
lang_term    "por"
lang_lib     "por"
END LC_ADDRESS

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

* Re: Bug in the i18n pt_BR file
  2020-01-29  7:01 Bug in the i18n pt_BR file João Pinto
@ 2020-01-29 16:06 ` Tulio Magno Quites Machado Filho
  2020-01-29 17:04   ` Caleb Herbert
  0 siblings, 1 reply; 3+ messages in thread
From: Tulio Magno Quites Machado Filho @ 2020-01-29 16:06 UTC (permalink / raw)
  To: João Pinto, bug-glibc-locales

Hi João,

João Pinto <jo.pinto08@gmail.com> writes:

> Hi, I'm João Pinto from Brazil and I'd like to report a bug in the
> i18n pt_BR locale file. The capitalizations on the months and the week
> days were wrong, so I fixed them in the file that I'm sending annexed
> to this email. If you guys were so nice to replace the current file
> with my corrections I'd be very grateful.

Would you have a reference on why they have to be capitalized?

> LC_TIME
> abday   "Dom";"Seg";/
>     "Ter";"Qua";/
>     "Qui";"Sex";/
>     "S<U00E1>b"
> day     "Domingo";/
>     "Segunda";/
>     "Ter<U00E7>a";/
>     "Quarta";/
>     "Quinta";/
>     "Sexta";/
>     "S<U00E1>bado"

I could not find a reference for week days.

> abmon   "Jan";"Fev";/
>     "Mar";"Abr";/
>     "Mai";"Jun";/
>     "Jul";"Ago";/
>     "Set";"Out";/
>     "Nov";"Dez"
> mon     "Janeiro";/
>     "Fevereiro";/
>     "Mar<U00E7>o";/
>     "Abril";/
>     "Maio";/
>     "Junho";/
>     "Julho";/
>     "Agosto";/
>     "Setembro";/
>     "Outubro";/
>     "Novembro";/
>     "Dezembro"

ABNT in its standard NBR 6023:2002 indicates that months should be always used
in lower case, regardless if they're abbreviated or not.
See Annex A (Abreviatura dos meses).

-- 
Tulio Magno

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

* Re: Bug in the i18n pt_BR file
  2020-01-29 16:06 ` Tulio Magno Quites Machado Filho
@ 2020-01-29 17:04   ` Caleb Herbert
  0 siblings, 0 replies; 3+ messages in thread
From: Caleb Herbert @ 2020-01-29 17:04 UTC (permalink / raw)
  To: libc-locales

On 1/29/20 10:06 AM, Tulio Magno Quites Machado Filho wrote:
> Would you have a reference on why they have to be capitalized?

For what it's worth (not much) My Brazilian friends say they do.

-- 
Caleb Herbert
KE0VVT
(816) 892-9669
https://bluehome.net/csh

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

end of thread, other threads:[~2020-01-29 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-29  7:01 Bug in the i18n pt_BR file João Pinto
2020-01-29 16:06 ` Tulio Magno Quites Machado Filho
2020-01-29 17:04   ` Caleb Herbert

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