This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix decimal_point and thousands_sep in es_MX locale


The following patch fixes the value of decimal_point and thousands_sep
for the es_MX locale, which have been broken by commit 4b19cd7a.

Rationale:
- for decimal_point it's basically reverting to the previous version
  before commit 4b19cd7a.
- the change is consistent with mon_decimal_point and mon_thousands_sep
- http://en.wikipedia.org/wiki/Decimal_mark
- For those speaking Spanish, the official norm is available:
  http://www.ine.gob.mx/publicaciones/download/008scfi.pdf (page 57)
  amended by:
  http://www.dof.gob.mx/documentos/3837/seeco/seeco.htm
  
  These links shows that it was officially a coma instead of a dot
  starting from 2002, but given that nobody used it, it has been 
  switch to coma *or* dot. The dot is the one used in practice.


diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index 975e59f..a1b5971 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-02  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* locales/es_MX (LC_NUMERIC): Correctly set decimal_point,
+	thousands_sep and grouping.
+
 2012-04-20  Chandan Kumar  <chandankumar.093047@gmail.com>
 
 	[BZ#13968]
diff --git a/localedata/locales/es_MX b/localedata/locales/es_MX
index 7a1cccc..21715b1 100644
--- a/localedata/locales/es_MX
+++ b/localedata/locales/es_MX
@@ -78,7 +78,9 @@ n_sign_posn          1
 END LC_MONETARY
 
 LC_NUMERIC
-copy "es_ES"
+decimal_point        "<U002E>"
+thousands_sep        "<U002C>"
+grouping             3;3
 END LC_NUMERIC
 
 LC_TIME

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]