Problems trying to get currency separator correct for CAD

"Vasyĺ V. Vercynśkyj" fuckel at ukr.net
Fri Jul 22 13:03:53 EDT 2011


[…]
> This would be a bug in the locale configuration, not a bug in GnuCash.
> GnuCash just uses what the locale says to use.
>
> -derek

I hardly believe that the problem is in locale:
1. Bug reproduces on different not related distros (and developers of 
one assure that the problem is in GnuCash but locale).
2. Another applications (Calculator, KMyMoney) give comma as the decimal 
separator whatever.

Let me explain you more clearly.

CONDITIONS:
1. My default locale is ru_RU.UTF-8 (or ru_UA.UTF-8).
2. I use two languages: English and Russian.
3. I use numeric keypad for entering amounts.
4. "Del" key from numeric keypad gives *period* when English is selected 
and *comma* when Russian is selected.

WHAT IS EXPECTED (when Gnucash starts in ru_RU.UTF-8 or ru_UA.UTF-8 locale):
1. All amounts should be displayed with *comma* -- FALSE: there is *period*.
2. When amount is entered the numeric "Del" key gives *comma* whatever 
language is selected -- FALSE: in English gives *period* in Russian 
gives nothing.

Lets try another locale.
WHAT IS EXPECTED (when Gnucash starts in uk_UA.UTF-8 or fr_FR.UTF-8 locale):
1. -- TRUE!
2. -- TRUE!

And what about this:
WHAT IS EXPECTED (when Gnucash starts in en_US.UTF-8 locale):
1. All amounts should be displayed with *period* -- TRUE.
2. When amount is entered the numeric "Del" key gives *period* whatever 
language is selected -- FALSE: in English gives *period* in Russian 
gives *comma*.

This symptoms are same for Ubuntu 11.04 and AltLinux/Sisyphus.

BTW, I don't use OSX.

-- 
WBR........[x]
TFTHAOT....[ ]
AMF........[ ]


More information about the gnucash-user mailing list