Attaching a patch for the trusty SRU request.

Changing status to "In Progress" for now, so the bug re-appears in the
sponsorship queue.

** Patch added: "thousand-decimal-es_trusty.patch"
   
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/1074797/+attachment/4097284/+files/thousand-decimal-es_trusty.patch

** Changed in: langpack-locales (Ubuntu)
       Status: Fix Released => In Progress

** Description changed:

- 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:
+ 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

** Summary changed:

- thousands separator and decimal separator wrong in es_GT
+ [SRU] thousands separator and decimal separator wrong in es_GT

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1074797

Title:
  [SRU] thousands separator and decimal separator wrong in es_GT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/1074797/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to