From owner-freebsd-gnome@FreeBSD.ORG Fri Aug 31 17:22:05 2007 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E39316A417 for ; Fri, 31 Aug 2007 17:22:05 +0000 (UTC) (envelope-from greenant@fastmail.fm) Received: from averell.tiscali.it (averell.tiscali.it [213.205.33.55]) by mx1.freebsd.org (Postfix) with ESMTP id 1987513C491 for ; Fri, 31 Aug 2007 17:22:05 +0000 (UTC) (envelope-from greenant@fastmail.fm) Received: from [192.168.8.3] (84.223.95.19) by averell.tiscali.it (7.3.122) id 468D1A80006924D6 for freebsd-gnome@freebsd.org; Fri, 31 Aug 2007 19:21:45 +0200 Message-ID: <46D84E28.2060704@fastmail.fm> Date: Fri, 31 Aug 2007 19:21:44 +0200 From: Alberto Rizzi User-Agent: Thunderbird 2.0.0.6 (X11/20070819) MIME-Version: 1.0 To: freebsd-gnome@freebsd.org References: <46D7073A.4000605@fastmail.fm> <1188500173.51256.31.camel@shumai.marcuscom.com> <1af6a62f0708301203n3708aa59g30b99143cb64ed97@mail.gmail.com> <1188503195.51256.38.camel@shumai.marcuscom.com> <46D7BD0B.8010009@fastmail.fm> <1188544237.51256.94.camel@shumai.marcuscom.com> <46D83CB0.9020708@fastmail.fm> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Gdm and user localization X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2007 17:22:05 -0000 Marcin Wisnicki ha scritto: > On Fri, 31 Aug 2007 18:07:12 +0200, Alberto Rizzi wrote: >>> another way is to create file /etc/sysconfig/language with: >>> >>> echo it_IT.UTF-8 >>> >> This doesn't work and I didn't find any documentation about it in the >> FreeBSD world, but only under Suse and other linux distro >> > > Look into /usr/local/sbin/gdm, it's a shell script. > > It sources /etc/profile and then if LANG is still unset it will > evaluate /etc/sysconfig/languages as value of LANG. > > Both ways work for me. > I did a mistake. I put LANG=it_IT.ISO8859-15 instead of it_IT.ISO8859-15 in language file but it still doesn't work #cat /etc/sysconfig/language it_IT.ISO8859-15 #ls -l /etc/sysconfig/language -rw-r--r-- 1 root wheel 17 31 Aug 19:07 /etc/sysconfig/language I'm trying to debug the script but I don't know nothing about sh script What does this mean? LANG=`. /etc/sysconfig/language; echo $RC_LANG`