I don't know about Macs, but the POSIX locale categories for this are LC_MONETARY for how monetary quantities are shown, and LC_NUMERIC for other numbers, defining decimal and thousands seperators among other things. See locale(5).
On Mon, 2 Jul 2018 15:43:46 -0700 John Ralls <jra...@ceridwen.us> wrote: > I tested this a bit in the debugger and I with French as the primary > language and Canada as the country [currentlocale objectForKey: > NSLocaleLanguageCode] insists that the code in en, not French. If I > tell System Prefs I'm in France it gets the right answer, so it might > be an Apple bug. > > Unfortunately setting LANG in the environment, though it will set the > interface language, doesn't seem to change the number display, so > there doesn't seem to be a way to force it at present. > > Regards, > John Ralls > > > > On Jul 2, 2018, at 2:59 PM, John Ralls <jra...@ceridwen.us> wrote: > > > > If you run GnuCash from a Terminal prompt do you get the right > > separator? > > > > Regards, > > John Ralls > > > >> On Jul 2, 2018, at 1:42 PM, Yves Forget via gnucash-user > >> <gnucash-user@gnucash.org> wrote: > >> > >> System Preferences/Language and Region says Region = Canada and > >> language = french. Advanced shows decimal separator is comma and > >> thousands separator is space. (These are default values for > >> French Canada). Environment variable LANG=fr_CA.UTF_8 OpenOffice > >> correctly uses comma as decimal separator. Is Gnucash supposed to > >> use the parameters from the locale ? Is there a way to force it ? > >> Thanks, Yves Forget > >> > >> Le lundi 2 juillet 2018 15h48, R. Victor Klassen > >> <rvklas...@gmail.com> a écrit : > >> > >> > >> Maybe in Quebec it is a comma. In the rest of the country it is a > >> period. > >> > >> There should be a different locale for fr-canada than for > >> en-canada. I don’t know what else would differ across locales > >> though. > >>> On Jul 2, 2018, at 3:42 PM, Yves Forget via gnucash-user > >>> <gnucash-user@gnucash.org> wrote: > >>> > >>> I’m new to GnuCash and just installed GnuCash 3.2 on Mac. OS X > >>> 10.13 Gnucash uses the period as decimal separator instead of my > >>> locale’s separator. Here in Canada it should be comma. > >>> Should Gnucash use the decimal separator of my locale, or is it > >>> always period ? Is there a way to configure it within GnuCash ? > >>> Thanks, > >>> Yves Forget > >>> _______________________________________________ > >>> 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. > >> > >> > >> > >> _______________________________________________ > >> 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. > > > > _______________________________________________ > > 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. > > _______________________________________________ > 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. -- Bert Riding rerid...@xmission.com _______________________________________________ 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.