On Thu, 2011-12-29 at 21:25 +0100, Jan Kolarik wrote:
Hello,
i installed opensuse-12.1 with german language and in a test users KDE/systemsettings/Locale the preferred language was set to German. In Yast/System/Language the primary language is german, too.
So the test users KDE programs are in german, but at least Firefox and Gimp still have english user interface.
I found that you need to set the language in your .bashrc file. For example, I had to add this to my file to get all non-KDE apps to be Russian: export LANG=ru_RU.UTF-8 I suspect you need this in yours: export LANG=de_DE.UTF-8 This effects GNOME apps, as well as character-based apps. Switching languages requires changing the KDE and .bashrc setting. Since it is your .bashrc, you will need to log out/in to get the non-KDE apps to follow suite. FYI, I had a discussion here about this a year or so ago. This was the advice I got. And it works as advertised.
In /etc/sysconfig/language i see:
# Local users will get RC_LANG as their default language, i.e. the # environment variable $LANG . $LANG is the default of all $LC_*-variables, # as long as $LC_ALL is not set, which overrides all $LC_-variables. # Root uses this variable only if ROOT_USES_LANG is set to "yes". # RC_LANG="de_DE.UTF-8"
But the test users "locale" says:
LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=de_DE.utf8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=de_DE.utf8 LC_MESSAGES="en_US.UTF-8" LC_PAPER=de_DE.utf8 LC_NAME=de_DE.UTF-8 LC_ADDRESS=de_DE.UTF-8 LC_TELEPHONE=de_DE.UTF-8 LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=de_DE.UTF-8 LC_ALL=
I can workaround this by calling e.g. "LANG=de_DE.UTF-8 ; firefox" on the command line.
Or i can fix it permanentely in ~test-user/.profile:
# Most applications support several languages for their output. # To make use of this feature, simply uncomment one of the lines below or # add your own one (see /usr/share/locale/locale.alias for more codes) # This overwrites the system default set in /etc/sysconfig/language # in the variable RC_LANG. # export LANG=de_DE.UTF-8 # uncomment this line for German output
But why do i have to do that, why is RC_LANG in /etc/sysconfig/language not recognized? Is it a bug, or do i miss something?
Jan
-- Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org