GNOME Bugzilla – Bug 122373
Decimal separator
Last modified: 2004-12-22 21:47:04 UTC
Even if in the italian translation a "," (comma) is used instead of a "." (dot) the display uses always a "." (dot). In italian we use "," (comma) as decimal separator and "." (dot) to group thousands. So one tenth is 0,10, while one thousand is 1.000.
Created attachment 19989 [details] Fix for the problem.
I've attached a patch that hopefully fixes this problem. I've also checked it the same patch to CVS HEAD. Fixed in v4.3.5. I'm closing the bug but I'd appreciate it if you could add a comment letting me know that this works for you. Alternatively, if it doesn't work, please reopen, and let me know what the remaining problem is. Thanks.
Refixed this to make it easier to update. Created a new routine, get_numeric_sep() which now returns a localised character which is the numeric separator. Fixed in CVS HEAD, in v4.3.6. Stefano, could you try this fix in CVS HEAD please, rather than will the bogus attached patch below. Thanks.
I'm reopening this bug so that I can close bug #123341 as a duplicate against it. The real fix for this bug should have been to use nl_langinfo(). I will attempt to fix this, this way, later on today.
*** Bug 123341 has been marked as a duplicate of this bug. ***
Code to use nl_langinfo() to get the radix character has now been added to gcalctool CVS HEAD. Fixed in v4.3.11. Stefano, could you possibly try this latest version and make sure it does the right thing for you in the Italian locale please? Thanks.