Setting LANG env on Ubuntu

Setting LANG env on Ubuntu

Tzafrir Cohen tzafrir at cohens.org.il
Sat Sep 26 17:04:06 IDT 2009


On Thu, Sep 24, 2009 at 11:37:21PM +0300, David Harel wrote:
> Hi,
>
> I use Ubuntu Jaunty release 9.04.
> On my last attempt to update openoffice to 3.1 (from repository:  
> http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu) I noticed that  
> openoffice can't do Hebrew file names anymore. I also got some warnings  
> from other tools such as digikam regarding locale settings.
> Digging into this problem I noticed that my LANG env is set to "C":
> $ echo $LANG
> C
>
> When I set it to: LANG=en_US.UTF-8 , both openoffice and digikam were fine.
> I also noticed that when I login on text mode (such as ssh localhost) I  
> get the LANG settings as expected: en_US.UTF-8
>
> Also I just tried to update my system  and I tried to remove all my dot  
> files and I tried to switch from xfce4 to Gnome but nothing seems to  
> resolve this problem.
> Any idea?

Select the language from gdm at login time?

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend



More information about the Linux-il mailing list