[Bug 1074797] Re: [SRU] thousands separator and decimal separator wrong in es_GT
Brian Murray
brian at ubuntu.com
Fri May 9 23:12:40 UTC 2014
** Also affects: langpack-locales (Ubuntu Trusty)
Importance: Undecided
Status: New
** Changed in: langpack-locales (Ubuntu)
Status: In Progress => Fix Released
** Changed in: langpack-locales (Ubuntu Trusty)
Status: New => Triaged
** Changed in: langpack-locales (Ubuntu Trusty)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1074797
Title:
[SRU] thousands separator and decimal separator wrong in es_GT
Status in “langpack-locales” package in Ubuntu:
Fix Released
Status in “langpack-locales” source package in Trusty:
Triaged
Bug description:
trusty SRU request
==================
Please add a trusty task on both this bug report and bug #997248.
[Impact]
The LC_NUMERIC formats are imported from the es_ES locale to several Latin American locales with other conventions for thousands_sep and decimal_point, which results in incorrect number formating.
Quoting from bug #997248: "This problem is seen when I try to use the
calculator, or other gnome program that involves math, it's
confusing."
[Test Case]
Before the fix:
$ LC_NUMERIC=es_GT.UTF-8 printf "%'.2f\n" 12345,67
12.345,67
After the fix:
$ LC_NUMERIC=es_GT.UTF-8 printf "%'.2f\n" 12345.67
12,345.67
[Regression Potential]
There might exist scripts that adapts to the current incorrect behavior. Given that 14.04 was recently released, fixing the bug ought to carry greater weight.
[Original description]
In Guatemala the thousands separator is a comma and the decimal separator is a dot. Had to change in /usr/share/i18n/locales/es_GT:
from:
LC_NUMERIC
copy "es_ES"
END LC_NUMERIC
to:
LC_NUMERIC
decimal_point "<U002E>"
thousands_sep "<U002C>"
grouping 3;3
END LC_NUMERIC
then sudo dpkg-reconfigure locales
lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/1074797/+subscriptions
More information about the Ubuntu-sponsors
mailing list