[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#385859: locales: wrong first_weekday for brazilian portuguese (pt_BR)



Package: locales
Version: 2.3.6.ds1-4
Severity: normal


The first weekday in brazilian portuguese is Sunday and not Monday.

$ locale day
domingo;segunda;terça;quarta;quinta;sexta;sábado
$ locale first_weekday
2

PROOF:http://pt.wikipedia.org/wiki/Semana

Sgestion: change the firs weekday to Sunday in pt_BR locale.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7-g4
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages locales depends on:
ii  debconf [debconf-2.0]        1.5.3       Debian configuration management sy
ii  libc6 [glibc-2.3.6.ds1-1]    2.3.6.ds1-4 GNU C Library: Shared libraries

locales recommends no packages.

-- debconf-show locales
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permissão negada
* locales/default_environment_locale: pt_BR.UTF-8
* locales/locales_to_be_generated: pt_BR ISO-8859-1, pt_BR.UTF-8 UTF-8
 

$ dpkg --status locales
Package: locales
Status: install ok installed
Priority: standard
Section: libs
Installed-Size: 9824
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: all
Source: glibc
Version: 2.3.6.ds1-4
Replaces: base-config, lliurex-belocs-locales-data
Depends: glibc-2.3.6.ds1-1, debconf | debconf-2.0
Conflicts: base-config, belocs-locales-bin, belocs-locales-data
Description: GNU C Library: National Language (locale) data [support]
 Machine-readable data files, shared objects and programs used by the
 C library for localization (l10n) and internationalization (i18n) support.
 .
 This package contains the libc.mo i18n files, plus tools to generate
 locale definitions from source files (included in this package). It allows
 you to customize which definitions actually get generated. This is a
 savings over how this package used to be, where all locales were generated
 by default. This created a package that unpacked to an excess of 30 megs.

$ locale
LANG=pt_BR.UTF-8
LANGUAGE=pt_BR
LC_CTYPE="pt_BR.UTF-8"
LC_NUMERIC="pt_BR.UTF-8"
LC_TIME="pt_BR.UTF-8"
LC_COLLATE="pt_BR.UTF-8"
LC_MONETARY="pt_BR.UTF-8"
LC_MESSAGES="pt_BR.UTF-8"
LC_PAPER="pt_BR.UTF-8"
LC_NAME="pt_BR.UTF-8"
LC_ADDRESS="pt_BR.UTF-8"
LC_TELEPHONE="pt_BR.UTF-8"
LC_MEASUREMENT="pt_BR.UTF-8"
LC_IDENTIFICATION="pt_BR.UTF-8"
LC_ALL=

$ cat /usr/share/i18n/locales/pt_BR
comment_char %
escape_char  /
%
% 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
% Repertoiremap: mnemonic.ds
% Charset: ISO-8859-1
% Distribution and use is free, also
% for commercial purposes.

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   "Portuguese"
territory  "Brasil"
revision   "1.0"
date       "2000-06-29"
%
category  "pt_BR:2000";LC_IDENTIFICATION
category  "pt_BR:2000";LC_CTYPE
category  "pt_BR:2000";LC_COLLATE
category  "pt_BR:2000";LC_TIME
category  "pt_BR:2000";LC_NUMERIC
category  "pt_BR:2000";LC_MONETARY
category  "pt_BR:2000";LC_MESSAGES
category  "pt_BR:2000";LC_PAPER
category  "pt_BR:2000";LC_NAME
category  "pt_BR:2000";LC_ADDRESS
category  "pt_BR:2000";LC_TELEPHONE

END LC_IDENTIFICATION

LC_COLLATE
copy "iso14651_t1"
END LC_COLLATE

LC_MESSAGES
yesexpr "<U005E><U005B><U0053><U0073><U0079><U0059><U005D><U002E><U002A>"
noexpr  "<U005E><U005B><U006E><U004E><U005D><U002E><U002A>"
END LC_MESSAGES

LC_MONETARY
int_curr_symbol           "<U0042><U0052><U004C><U0020>"
currency_symbol           "<U0052><U0024>"
mon_decimal_point         "<U002C>"
mon_thousands_sep         "<U002E>"
mon_grouping              3;3
positive_sign             ""
negative_sign             "<U002D>"
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             "<U002C>"
thousands_sep             ""
grouping                  0;0
END LC_NUMERIC

LC_TIME
abday   "<U0044><U006F><U006D>";"<U0053><U0065><U0067>";/
        "<U0054><U0065><U0072>";"<U0051><U0075><U0061>";/
        "<U0051><U0075><U0069>";"<U0053><U0065><U0078>";/
        "<U0053><U00E1><U0062>"
day     "<U0064><U006F><U006D><U0069><U006E><U0067><U006F>";/
        "<U0073><U0065><U0067><U0075><U006E><U0064><U0061>";/
        "<U0074><U0065><U0072><U00E7><U0061>";/
        "<U0071><U0075><U0061><U0072><U0074><U0061>";/
        "<U0071><U0075><U0069><U006E><U0074><U0061>";/
        "<U0073><U0065><U0078><U0074><U0061>";/
        "<U0073><U00E1><U0062><U0061><U0064><U006F>"
abmon   "<U004A><U0061><U006E>";"<U0046><U0065><U0076>";/
        "<U004D><U0061><U0072>";"<U0041><U0062><U0072>";/
        "<U004D><U0061><U0069>";"<U004A><U0075><U006E>";/
        "<U004A><U0075><U006C>";"<U0041><U0067><U006F>";/
        "<U0053><U0065><U0074>";"<U004F><U0075><U0074>";/
        "<U004E><U006F><U0076>";"<U0044><U0065><U007A>"
mon     "<U006A><U0061><U006E><U0065><U0069><U0072><U006F>";/
        "<U0066><U0065><U0076><U0065><U0072><U0065><U0069><U0072><U006F>";/
        "<U006D><U0061><U0072><U00E7><U006F>";/
        "<U0061><U0062><U0072><U0069><U006C>";/
        "<U006D><U0061><U0069><U006F>";/
        "<U006A><U0075><U006E><U0068><U006F>";/
        "<U006A><U0075><U006C><U0068><U006F>";/
        "<U0061><U0067><U006F><U0073><U0074><U006F>";/
        "<U0073><U0065><U0074><U0065><U006D><U0062><U0072><U006F>";/
        "<U006F><U0075><U0074><U0075><U0062><U0072><U006F>";/
        "<U006E><U006F><U0076><U0065><U006D><U0062><U0072><U006F>";/
        "<U0064><U0065><U007A><U0065><U006D><U0062><U0072><U006F>"
d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
d_fmt   "<U0025><U0064><U002D><U0025><U006D><U002D><U0025><U0059>"
t_fmt   "<U0025><U0054>"
am_pm   "";""
t_fmt_ampm ""
date_fmt       "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
<U0025><U005A><U0020><U0025><U0059>"
%  FIXME: found in CLDR
first_weekday 2
END LC_TIME

LC_PAPER
% FIXME
height   297
% FIXME
width    210
END LC_PAPER

LC_TELEPHONE
tel_int_fmt    "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
<U006C>"
int_prefix     "<U0035><U0035>"
int_select     "<U0030><U0030>"
END LC_TELEPHONE

LC_MEASUREMENT
% FIXME
measurement    1
END LC_MEASUREMENT

LC_NAME
name_fmt    "<U0025><U0064><U0025><U0074><U0025><U0067><U0025><U0074>/
<U0025><U006D><U0025><U0074><U0025><U0066>"
END LC_NAME

LC_ADDRESS
postal_fmt    "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
<U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
<U004E><U0025><U0063><U0025><U004E>"
country_ab2 "<U0042><U0052>"
country_ab3 "<U0042><U0052><U0041>"
country_num 076
END LC_ADDRESS



Reply to: