Check src/scm/main.scm around line 365:
(gnc:setup-gettext)
(setlocale LC_ALL "")
So it _IS_ being called...
-derek
Christian Stimming <[EMAIL PROTECTED]> writes:
> In CVS's gnucash, the locale ist not set. This means that for me, gnucash-1.7
> doesn't recognize my non-C locale, and assumes things like USD as standard
> currency and US number format. This is a bug and should be fixed.
>
> What is missing is something like setlocale(LC_ALL, ""). In gnucash-1.6, this
> happened in function gnc_main in src/guile/gnucash.c. Due to the transition
> to guile modules, we got rid of that function, but I guess people just forgot
> about this setlocale call. Where would be the right place to add it again? To
> see for yourself that it's missing, compare the output of "rgrep -R '*.c'
> setlocale *" from gnucash-1.6 to CVS-gnucash.
>
> Christian
>
> _______________________________________________
> gnucash-devel mailing list
> [EMAIL PROTECTED]
> http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
[EMAIL PROTECTED] PGP key available
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel