Workaround for Localization Behaviour?

Derek Atkins warlord at MIT.EDU
Fri Jan 18 12:42:11 EST 2008


Quoting Guillaume Lessard <glessard at tffenterprises.com>:

>
> On 08-01-18, at 08:09, Derek Atkins wrote:
>>
>> fr_CA implies French in Canada, so the locale currency would be CAD.
>
> Um, yes.
>
>
>> What does "locale" give you in your environment setting
>> however you run GnuCash?
>
> Um, you said it.
>
> However, I'm an expatriate. I like to have fr_CA as my locale, but  
> that gives me the wrong currency -- everything I do is in USD.  
> Overriding the locale currency in gnucash 
> (Edit->Preferences->Accounts- >"Default currency" and in other 
> places) does not do anything for the  register display, which is what 
> counts. I could set LC_MONETARY, but  that would change the number 
> format as well as the monetary unit --  definitely not what I want.
>
> Seems like this setlocale() system has serious flexibility issues.  
> I'll have to hack my own locale, apparently. (yuck.)

Yep, that's what it sounds like to me.  Sorry.

> Guillaume Lessard
> glessard at tffenterprises.com

-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