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

Bug#673339: [locales] es_MX has wrong decimal_point and thousands_sep



Package: locales
Version: 2.13-32
Severity: critical
Tags: l10n

--- Please enter the report below this line. ---
The locales for es_MX in decimal_point and thousands_sep should be the same as en_US:

$ LANG=en_US locale -k LC_NUMERIC LC_MONETARY | grep -e decimal_point -e thousands_sep
decimal_point="."
thousands_sep=","
mon_decimal_point="."
mon_thousands_sep=","

$ LANG=es_MX locale -k LC_NUMERIC LC_MONETARY | grep -e decimal_point -e thousands_sep
decimal_point=","
thousands_sep="."
mon_decimal_point="."
mon_thousands_sep=","

This command has inverted the "." and the ","

I think that the problem is in /usr/share/i18n/locales/es_MX. It could have missing the variables decimal_point and mon_thousands_sep
The en_US file does have this variables and es_MX does not.

$ grep -e decimal_point -e thousands_sep /usr/share/i18n/locales/es_MX
mon_decimal_point    "<U002E>"
mon_thousands_sep    "<U002C>"

$ grep -e decimal_point -e thousands_sep /usr/share/i18n/locales/en_US
mon_decimal_point   "<U002E>"
mon_thousands_sep   "<U002C>"
decimal_point   "<U002E>"
thousands_sep   "<U002C>"

Thanks for your support!

I'm using Debian Wheezy with unstable Pin-priority 200

More information about locales package:

$ apt-cache madison locales
locales | 2.13-32 | http://ftp.debian.org/debian/ unstable/main amd64 Packages
   locales |    2.13-32 | http://ftp.debian.org/debian/ testing/main amd64 Packages
    eglibc |    2.13-31 | http://ftp.debian.org/debian/ unstable/main Sources
    eglibc |    2.13-32 | http://ftp.debian.org/debian/ unstable/main Sources

$ apt-cache policy locales
locales:
  Instalados: 2.13-32
  Candidato:  2.13-32
  Tabla de versión:
 *** 2.13-32 0
        200 http://ftp.debian.org/debian/ unstable/main amd64 Packages
        990 http://ftp.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status

--- System information. ---
Architecture: amd64
Kernel: Linux 3.2.0-2-amd64

Debian Release: wheezy/sid
990 testing security.debian.org
990 testing ftp.debian.org
990 testing debian-multimedia.org
990 squeeze-backports backports.debian.org
500 testing-proposed-updates ftp.debian.org
500 stable dl.google.com
200 unstable ftp.debian.org

--- Package information. ---
Depends (Version) | Installed
===========================-+-===========
glibc-2.13-1 |
debconf (>= 0.5) | 1.5.43
OR debconf-2.0 |


Package's Recommends field is empty.

Package's Suggests field is empty.






Reply to: