You are not logged in.

#1 2012-10-05 20:44:49

amishxxx
Member
Registered: 2012-03-10
Posts: 23

[SOLVED] How to change the Language just for gunchash???

Hello everyone,
I started using gunchash. My system is in English. But i would like to have gunchash in German so it automatically loads the German bank account names. The only way i managed to change gunchash to German was to change the whole system to German.
Is there a way to set the language just for some programs??
I couldn't find any us full information in the Wiki or on the gunchash page.

Thanks for your help

Micah

Last edited by amishxxx (2012-11-02 19:19:45)

Offline

#2 2012-10-05 21:01:01

Sanne
Member
Registered: 2012-03-13
Posts: 87

Re: [SOLVED] How to change the Language just for gunchash???

I have an English system. When I start for example the gimp like this:

LANG=de_DE.UTF-8 gimp

gimp's UI comes up in German. I don't know if it also works with gnucash, but might be worth a try.

You would need to have the respective locales enabled and generated, I guess.

Last edited by Sanne (2012-10-05 21:02:04)


If our currency were not money but appreciation and acknowledgement for what we do for others, for the community, for the benefit of all, we would have paradise on earth.

Offline

#3 2012-10-05 21:01:42

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] How to change the Language just for gunchash???

https://wiki.archlinux.org/index.php/Be … ide#Locale

Assuming that you uncommented both English and German locales from /etc/locale.gen and ran locale-gen, open a terminal and run:

$ LANG=de_DE.UTF-8
$ gunchash

When you're done, set it back to English:

$ LANG=en_US.UTF-8

You can probably also create a script:

# nano /bin/guncash-de
#!/bin/sh
LANG=de_DE.UTF-8
gunchash
LANG=en_US.UTF-8
# chmod +x /bin/guncash-de

Then just run:

$ guncash-de

Edit: "guncash", lol. Well, you spelled it that way, and it's just and example anyway. So deal with it.

Last edited by DSpider (2012-10-05 21:03:18)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-10-06 09:54:11

amishxxx
Member
Registered: 2012-03-10
Posts: 23

Re: [SOLVED] How to change the Language just for gunchash???

DSpider wrote:

https://wiki.archlinux.org/index.php/Be … ide#Locale

Assuming that you uncommented both English and German locales from /etc/locale.gen and ran locale-gen, open a terminal and run:

$ LANG=de_DE.UTF-8
$ gunchash

When you're done, set it back to English:

$ LANG=en_US.UTF-8

You can probably also create a script:

# nano /bin/guncash-de
#!/bin/sh
LANG=de_DE.UTF-8
gunchash
LANG=en_US.UTF-8
# chmod +x /bin/guncash-de

Then just run:

$ guncash-de

Edit: "guncash", lol. Well, you spelled it that way, and it's just and example anyway. So deal with it.

Hey yeah i did all that...it works .....lol yeah i didn't even notice that i wrote it wrong...gnucash lol
thanks for you help guys

Offline

#5 2012-10-06 11:01:12

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] How to change the Language just for gunchash???

Don't forget to mark the topic as solved (by editing the first post) so that other people (including yourself sometimes) may find useful.


Edit: And I agree with the suggestion to run:

$ LANG=de_DE.UTF-8 gnucash

If you want to turn it into a script, go ahead. It's your system. This way you won't need to open a terminal.

#!/bin/sh
LANG=de_DE.UTF-8 gnucash

Last edited by DSpider (2012-10-06 11:06:31)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#6 2012-11-02 19:21:30

amishxxx
Member
Registered: 2012-03-10
Posts: 23

Re: [SOLVED] How to change the Language just for gunchash???

I totally forgot to change it to  [SOLVED] thanks for reminding me ....;-)

DSpider wrote:

Don't forget to mark the topic as solved (by editing the first post) so that other people (including yourself sometimes) may find useful.


Edit: And I agree with the suggestion to run:

$ LANG=de_DE.UTF-8 gnucash

If you want to turn it into a script, go ahead. It's your system. This way you won't need to open a terminal.

#!/bin/sh
LANG=de_DE.UTF-8 gnucash

Last edited by amishxxx (2012-11-02 19:22:14)

Offline

Board footer

Powered by FluxBB