Skip to content

Introduction

Gnucash is one of the very few programs i want translated into dutch, because the terminology is very important. So translation will be the main course here.

translation

You can steer it with the locale settings, but of course you DON'T want to set the default locale to dutch and watch everything change.

First check if your locale is installed at all, you can list them with:

locale
1
2
3
4
5
6
locale -a 

C
C.UTF-8
en_US.utf8
POSIX

This was my output, so no nl there. Install it with:

install
sudo dpkg-reconfigure localepurge

Choose one fitting your needs, i choose nl_NL.utf8 since that matches the en_US one. But now you should startup gnucash (and ONLY gnucash) with the locale changed:

language set
LANG=nl_NL.utf8 LANGUAGE=nl_NL.utf8 gnucash

Note what the startup says after this command, for instance :

startup error
The locale defined in the environment isn't supported. Falling back to the 'C' (US English) locale
Found Finance.. code-block::Quote version 1.47

Is still going to land you in English. Probably you need to run this as well:

reconfigure
sudo dpk-reconfigure locales

Then select nl_NL.UTF-8, but keep the default to en_US-UTF-8 now it will say :

output
1
2
3
4
5
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
en_US.UTF-8... done
nl_NL.UTF-8... done
Generation complete.

In my case... I finally had a dutch interface. Also locale will now report:

locale
1
2
3
4
5
6
locale -a
C
C.UTF-8
en_US.utf8
nl_NL.utf8
POSIX

To let gnucash use Dutch by default edit the file /etc/gnucash/environment and uncomment and set these two lines :

always start as dutch
1
2
3
# 3. replace nl_BE with your preferred locale
LANG=nl_NL.UTF-8
LANGUAGE={LANG}

Note

if you still have a previously created file the terms will still be English. Reopen a new file.

Note

And.. the help pages will remain in English whatever you do.

cleanup files

You can easily delete the gnucash file, it is placed by default in ~/Documents. But then your file remains in the history list, and it will fail when you click on it. To clear the history you need dconf-editor :

change history
sudo apt-get install dconf-editor
dconf-editor

Note the lack of sudo, you run it as the user that needs the change. You can then browse to org.gnucash.history and delete the entry you want.