Problems trying to get currency separator correct for CAD

tjoen tjoen at dds.nl
Sat Jul 23 13:15:34 EDT 2011


"Vasyĺ V. Vercynśkyj" schreef op za 23-07-2011 om 14:05 [+0300]:
> 22.07.2011 21:16, John Ralls wrote:
> […]
> >
> > If the values aren't what you expect, then your beef is with whoever maintains the locales package either at Canonical or Debian. If the values are what you expect, but gnucash is getting it wrong, then please file a bug against Gnucash.
> >
> As it turned out ru_RU locale has a problem:
> 
> $ LANG=ru_RU.UTF-8 locale mon_decimal_point decimal_point thousands_sep 
> mon_thousands_sep
> .
> ,
> nbsp
> nbsp
> 
> But why Gnucash don't turn *comma* (inserted from numeric keyboard) into 
> *period* like it does in another locales (e.g. in fr_FR *period* is 
> turned into *comma*)? Is it also relates to locale bug?

In /usr/share/i18n/locales/ru_RU
LC_MONETARY
mon_decimal_point         "<U002E>"
mon_thousands_sep         "<U00A0>"
..
LC_NUMERIC
decimal_point             "<U002C>"
thousands_sep             "<U00A0>"

Are the values correct?

If you have a test machine you can experiment editing that
and do 
# localedef -i ru_RU -f UTF-8 ru_RU.UTF-8



More information about the gnucash-user mailing list