balance sheet rollup-totals are $0

Stuart McGraw smcg4191 at frii.com
Wed Sep 10 00:40:00 EDT 2008


Charles Day wrote:
> On Tue, Sep 9, 2008 at 3:48 PM, Stuart McGraw <smcg4191 at frii.com <mailto:smcg4191 at frii.com>> wrote:
> > Charles Day [mailto:cedayiv at gmail.com <mailto:cedayiv at gmail.com>] wrote:
> > > On Tue, Sep 9, 2008 at 2:02 PM, Stuart McGraw <smcg4191 at frii.com <mailto:smcg4191 at frii.com>> wrote:
>[...]
> > > >[...]
> > > > (Also, any way to tell Gnucash to suppress the "USD" texts,
> > > > i.e. only explicitly display the currency when it is not
> > > > the same as the default?)
> > > 
> > > I don't know the answer, but I suspect that has something to do
> > > with your locale. When I run a balance sheet with multiple currencies,
> > > instead of "USD" I see "$".  I only see the three-letter symbols on
> > > non-US currencies.
> > 
> > Yes, when I set the Windows locale to English-US, Gnucash
> > displays dollar amounts prefixed with "$" and yen amounts
> > prefixed with "JPY" which is what I'd prefer to see.  Unfortunately,
> > for several reasons I have to keep the system-wide locale set
> > to Japanese.
> > 
> > Any idea how to run Gnucash under Windows with an application-
> > specific locale?  On *nix I guess I would do something like
> >   LANG=en_US /usr/bin/gnucash ...
> > but I don't know what the Windows equivalent would be.  I tried
> > adding the line
> >   SET LANG=en_US
> >     in the gnucash.bat file without effect.
> 
> I think that only affects the language. I'm not sure, but try adding 
> this to your gnucash.bat: SET LC_MONETARY=en_US

No joy, nor with LC_ALL. :-(
I guess that somewhere in guncash, it calls some function
to get the default locale.  I wonder if setting an environment
value is sufficient to affect what that function returns.
Unfortunately my understanding of this stuff is effectively 
zero.



More information about the gnucash-user mailing list