> On Aug 23, 2019, at 9:01 AM, Axel Essbaum <a...@essbaum.com> wrote: > > > Hi All, > > Longtime Mac GC user, still running my original 2.4.11 install from… 10 years > ago? I am now looking at upgrading to 3.6 and am encountering a problem with > the "grouping" character and decimal points being transposed. I am using GC > with CHF (I am in Switzerland), but my computer is set up in English. > > In System Prefs > Langauge and Region I have Region = Switzerland. On that > pane in Advanced I have Number Separator Grouping = ' and decimal = . > Currency is CHF and Currency Grouping = ' and decimal = . > > In GC Prefs I have Locale = CHF (Swiss Franc). > > But two thousand CHF, which I would expect to see as CHF 2'000.00 is actually > displayed SFr. 2.000,00. > > I can live with SFr. but I can't have a decimal point used for grouping. > > Anyone have any ideas what I can adjust to fix this?
The problem is that while Apple's native localization (based on a library called ICU) has the correct numeric and monetary formats for Switzerland, their C runtime library localization files that GnuCash uses have the wrong values for thousands separator and decimal point. MacOS won't let you edit the file even with admin privileges (i.e. sudo) and AFAIK no other country uses an apostrophe for the thousands separator so I don't think that there's any way to get the apostrophe thousands separator short of switching to Linux. Since you're using GnuCash in English anyway you could just tell defaults defaults write -a Gnucash AppleLocale en_GB.UTF-8 and it will use comma for the thousands separator and dot for the decimal point. You'll want to change the default currency in Preferences on the Accounts and Reports tabs to CHF instead of locale. Regards, John Ralls _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.