Workaround for Localization Behaviour?

Derek Atkins warlord at MIT.EDU
Thu Jan 17 19:39:16 EST 2008


Quoting Guillaume Lessard <glessard at tffenterprises.com>:

>
> On Mac OS X 10.5, GnuCash has what I would characterize as incorrect
> localization behaviour; it picks its units and time/date display from
> the locale, but also derives its display language from the locale.
> There is a separate preference for display languages (implemented as
> an ordered list.) I happen to have English before my locale's default
> language, so I'm not getting the expected behaviour.
>
> Is this a gnucash bug or is this something inherited from the gnome
> toolkit?

It's all based on setlocale().  So whatever 'locale' returns is
what GnuCash uses.

> Is there a way to force gnucash's localization to something other than
> the environment's default?

set the LANG variable, ala:  LANG=en_US gnucash

> Thanks,
>
> --
> Guillaume Lessard
> glessard at tffenterprises.com

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       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
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list