alphabetical sorting of accounts on windows

John Ralls jralls at ceridwen.us
Tue Mar 7 20:11:46 EST 2017


> On Mar 7, 2017, at 11:58 AM, John Ralls <jralls at ceridwen.us> wrote:
> 
>> 
>> On Mar 7, 2017, at 9:30 AM, Derek Atkins <warlord at mit.edu> wrote:
>> 
>> John Ralls <jralls at ceridwen.us> writes:
>> 
>>>> On Mar 3, 2017, at 5:28 AM, Vojtech Fried <Vojtech.Fried at seznam.cz> wrote:
>>>> 
>>>> Hi,
>>>> I live in Czechia, but my Windows 7 are english. I noticed that the sort 
>>>> order of account names was wrong. I use some czech accented characters in 
>>>> the account names. I tried to tweak the environment file, but with no 
>>>> success. I was able to change the Gnucash interface language, but I could 
>>>> not fix the sort order. In the end I figured out a solution (workaround?): 
>>>> you need to change the "Language for non-Unicode programs" setting in 
>>>> Windows (on Windows 7: Control Panels ... Region and Language .. 
>>>> Administrative .. Change system locale). When I changed it from default 
>>>> English/US to Czech/Czech Republic, the sort started to be ok.
>>>> I am not sure if it is a bug or it is intended this way, but I guess it 
>>>> should be somewhere in the docs.
>>> 
>>> Thanks for the report. I'm pretty sure the problem is that we don't
>>> call setlocale() with the Microsoft locale names on Windows.
>> 
>> Should we get a bug filed on this?
> 
> We already do, though its title is perhaps too narrow: https://bugzilla.gnome.org/show_bug.cgi?id=725296.

Vojtech,

What happens if you put 
  LANG=czech_Czech Republic
  LANGUAGE=cs
in your environment file?

Regards,
John Ralls



More information about the gnucash-devel mailing list