You are not logged in.

#1 2010-12-16 20:22:04

Self-Perfection
Member
From: Russia
Registered: 2010-12-16
Posts: 8

Can't set different locale for user [solved]

I have system-wide locale ru_RU.utf8

$ grep LOCALE /etc/rc.conf
# LOCALE: available languages can be listed with the 'locale -a' command
LOCALE="ru_RU.utf8"

But I want to use untranslated program interfaces, so I added

export LC_MESSAGES=en_US.utf8

to my ~/.bashrc. It used to work.

Recently I've upgraded my arch after 4 months without upgrades and switched from kdemod 4.4.4 to KDE SC 4.5.4. Now apps launched from KDE GUI ignore LC_MESSAGES from ~/.bashrc and use russian interface if thay are able to find translation. Meanwhile, if I launch something from Konsole it uses english interface.

Is there any way to make KDE pass to applications specific LC_MESSAGES value?

Solution: The appropriate place for setting environment for X apps is ~/.xprofile.

Last edited by Self-Perfection (2010-12-16 21:39:52)

Offline

#2 2010-12-16 20:37:11

maevius
Member
From: Greece
Registered: 2009-09-10
Posts: 135
Website

Re: Can't set different locale for user [solved]

Maybe if you added LC_MESSAGES=en_US.utf8 to /etc/environment?

Offline

#3 2010-12-16 21:31:02

Self-Perfection
Member
From: Russia
Registered: 2010-12-16
Posts: 8

Re: Can't set different locale for user [solved]

maevius wrote:

Maybe if you added LC_MESSAGES=en_US.utf8 to /etc/environment?

Changing /etc/environment would change it system-wide, I need to change locale only for my user.

Offline

Board footer

Powered by FluxBB