After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 554098 - Distinguish mon_decimal_point from decimal_point
Distinguish mon_decimal_point from decimal_point
Status: RESOLVED INCOMPLETE
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other All
: Low enhancement
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-09-27 19:29 UTC by Claude Paroz
Modified: 2013-04-15 16:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Claude Paroz 2008-09-27 19:29:07 UTC
When KP_Decimal code is entered, Gnumeric should use either mon_decimal_point from LC_MONETARY or decimal_point from LC_NUMERIC, depending on the cell type.

It's almost always the same, except for Switzerland where we use "." for mon_decimal_point and "," for decimal_point. It's currently not correct in glibc locale, but we plan to correct this, therefore we'd like programs to be able to support this.
Comment 1 Jean Bréfort 2008-09-27 19:32:15 UTC
adding monetary decimal and thousands separators support in go-locale.* is trivial. Using them in formats looks more difficult. We need to check whether the format is a currency or monetary one before assigning the separators.
Comment 2 Morten Welinder 2008-09-28 18:30:02 UTC
Getting this right in all contexts is going to be hard, but when a cell
contains a currency amount we ought to be able to do it.
Comment 3 Morten Welinder 2013-04-15 16:51:57 UTC
It looks to me as-if glibc still uses "." for both decimal separators.
As long as that is the case we realistically cannot do anything here.

Feel free to reopen if the situation changes.

-->INCOMPLETE.  (For lack of a better match.)