Allowing the user to select the currency symbol

Geert Janssens janssens-geert at telenet.be
Wed Sep 25 13:25:38 EDT 2013


On Wednesday 25 September 2013 11:11:21 David Carlson wrote:
> On 9/25/2013 10:02 AM, Derek Atkins wrote:
> > Frédéric Perrin <fred at fperrin.net> writes:
> >> Yes. OTOH, beyond the locale currency, we can't decide for the user
> >> what is meant by $ or £. Do you think this is too much trouble for
> >> something users won't bother to configure ?
> > 
> > Possibly, yes.
> > 
> >> I guess we can decide to use $ for USD, £ for GBP and for the other
> >> currencies, invent some qualifier. CAD already has C$, but e.g.
> >> Brunei and Bahamain both have B$. How do we resolve this ambiguity
> >> ?> 
> > Maybe.  Maybe not..  One possibility would be to have defaults in
> > the
> > iso-4217-currencies and a flag (which the user can set) for whether
> > to display it.
> > 
> >>> worse, GConf editing is really only simple on Linux, so you're
> >>> leaving out users of Mac and Windows.
> >> 
> >> Editing GConf was only for development, if the idea is sound we'd
> >> hopefully also get a GUI editor (new tab in the Pref dialog ?).
> > 
> > While interesting, this would be a lot of effort!  :)
> > But go ahead if this is your plan.
> > You could start with built-in defaults and let the user change them;
> > perhaps on a per-datafile setting?  (That would indeed be easiest). 
> > Or I guess it could go into the user's "global" settings.  Hard to
> > say what's the Right Thing here.
> > 
> > -derek
> 
> As another user I would suggest per data file.  One user may want
> different settings in another file.
> 
> David C

I would rather see it per data file as well.

And if you are going to do a GUI to edit this, how about making it a currency editor, something 
like the commodity editor now, but then for currencies ? The iso-4217-currencies can serve as 
preset currencies, which the user can edit, or even add custom currencies (think Bitcoin and 
friends). Perhaps that's too wide a scope though... I'm just thinking out loud how what you 
want to achieve can do much more with some additional effort.

Geert


More information about the gnucash-devel mailing list