setlocale(LC_ALL, "") in gnucash-1.7 missing

Christian Krause chkr@plauener.de
03 Oct 2002 19:10:07 +0200


On Thu, 3 Oct 2002 12:50:28 +0200, Christian Stimming wrote:

> 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.

http://bugzilla.gnome.org/show_bug.cgi?id=89471

> 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.

There is another bug in the localization:
http://bugzilla.gnome.org/show_bug.cgi?id=87729

It would be nice if anybody could look at these bugs and my
proposed patches. 


bye
christian