Don't forget to mark it as solved (by editing the first post) so that other people (including yourself sometimes) may find useful.
By the way, pacman says that it belongs to glibc, so look out for updates to the glibc package, because it will rewrite that file.
$ pacman -Qo /usr/share/i18n/locales/es_MX
/usr/share/i18n/locales/es_MX is owned by glibc 2.16.0-4
Maybe, the Arch dev can patch this file for the new and fresh installations
That won't happen, this needs to be fixed upstream.
]]>1.- Needed to edit the file: /usr/share/i18n/locales/es_MX
2.- Look for the line:
LC_NUMERIC
copy "es_ES"
END LC_NUMERIC
3.- Change that line to:
LC_NUMERIC
decimal_point "<U002E>"
thousands_sep "<U002C>"
grouping 3;3
END LC_NUMERIC
3.- Later I run:
locale-gen
4.- Now, works as expected
Maybe, the Arch dev can patch this file for the new and fresh installations
]]>LANG=es_MX.UTF-8
LC_CTYPE="es_MX.UTF-8"
LC_NUMERIC="es_MX.UTF-8"
LC_TIME="es_MX.UTF-8"
LC_COLLATE="es_MX.UTF-8"
LC_MONETARY="es_MX.UTF-8"
LC_MESSAGES="es_MX.UTF-8"
LC_PAPER="es_MX.UTF-8"
LC_NAME="es_MX.UTF-8"
LC_ADDRESS="es_MX.UTF-8"
LC_TELEPHONE="es_MX.UTF-8"
LC_MEASUREMENT="es_MX.UTF-8"
LC_IDENTIFICATION="es_MX.UTF-8"
LC_ALL=
locale -a
C
es_MX.utf8
POSIX
If you can't fix it yourself, post the output of 'locale' and 'locale -a'.
]]>I just notice that my decimal separator is wrong...
Current: , (coma)
Correnct: . (dot)
How to change it?
]]>