LANG variable and language switching

Marius Gedminas marius at
Thu May 31 19:46:45 UTC 2007

On Thu, May 31, 2007 at 09:35:24PM +0200, Milos Prudek wrote:
> > I don't use Kubuntu myself.  With regular Ubuntu, when you choose the
> > language in the login manager, it sets $LANG appropriatelly.  You can
> > also set environment variables for your whole GNOME session in
> > ~/.gnomerc.
> I created ~/.gnomerc with a single line "export LANG=cs_CZ.utf8" but it did 
> not cchange language for GIMP.

Well, yes, that's because (as far as I remember) you're using Kubuntu
with its KDE desktop, and .gnomerc is a feature of the alternative GNOME
desktop.  Sorry if I gave you the impression that it was a pertinent

I would expect the KDE login manager to set $LANG correctly if you
choose a language before logging in, but I do not have personal
experience with it, so I cannot guarantee it.

Marius Gedminas
Where do you think you're going today?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <>

More information about the ubuntu-users mailing list