Posts: 58
wingevil
Joined: 18 Nov 2008
#1
okay i've set all my locales to de_DE.utf8 and export it.

what's currently the result?

If I start an app like claws-mail oder iceweasel from then console, the app appears in german language.

But if I start the same apps from my icewm-menu, they appear in english! __{{emoticon}}__

I think, the reason and the solution will be simple & small, but I don't know how to solve it.

Can anyone help me, please? __{{emoticon}}__ Thanks in advance.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
A 'simple' solution is to edit the icewm and fluxbox menu to read like this:

For icewm:
prog"Iceweasel" - LANG=de_DE.UTF-8 iceweasel
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antiX.mepis.com"
linktext was:"http://antiX.mepis.com"
====================================
" onclick="window.open(this.href);return false
prog"Iceweasel" - LANG=de_DE.UTF-8 claws-mail
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antiX.mepis.com"
linktext was:"http://antiX.mepis.com"
====================================
" onclick="window.open(this.href);return false

For fluxbox:
[exec] (Browser-DE) {LANG=de_DE.UTF-8 iceweasel}
[exec] (Email-DE) {LANG=de_DE.UTF-8 claws-mail}
Posts: 58
wingevil
Joined: 18 Nov 2008
#3
anticapitalista wrote:A 'simple' solution is to edit the icewm and fluxbox menu to read like this:

For icewm:
prog"Iceweasel" - LANG=de_DE.UTF-8 iceweasel
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antiX.mepis.com"
linktext was:"http://antiX.mepis.com"
====================================
" onclick="window.open(this.href);return false
prog"Iceweasel" - LANG=de_DE.UTF-8 claws-mail
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antiX.mepis.com"
linktext was:"http://antiX.mepis.com"
====================================
" onclick="window.open(this.href);return false
Anti, does this reallsy works on your pc??? __{{emoticon}}__

If I try this, each menu-entry, which is fullfilled with"LANG=de...", disappear in the menu until I remove it.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#4
Yes, you are right for icewm. I presumed it would have the same syntax as fluxbox. (which does work BTW)

Not sure what you would need in icewm though.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
This is what I did and now apps open in de.

Edit /etc/default/locale
LANG=de_DE.UTF-8

Edit /etc/profile
export LANG=de_DE.UTF-8

as user edit ~/.bashrc to have

export LANG="de_DE.UTF-8" (note the"" not sure if really necessary)


Logout/login open app.
Posts: 58
wingevil
Joined: 18 Nov 2008
#6
anticapitalista wrote:This is what I did and now apps open in de.

Edit /etc/default/locale
LANG=de_DE.UTF-8

Edit /etc/profile
export LANG=de_DE.UTF-8

as user edit ~/.bashrc to have

export LANG="de_DE.UTF-8" (note the"" not sure if really necessary)


Logout/login open app.
anti, You're again my hero!

The red word was missing and I haven't seen it about more than 6 weeks... __{{emoticon}}__ . How you're say it in english? "...not to see the wood for the trees" __{{emoticon}}__

Thank You very much! __{{emoticon}}__

Greetz Michael