Date: Fri, 31 Aug 2007 18:07:12 +0200 From: Alberto Rizzi <greenant@fastmail.fm> To: freebsd-gnome@freebsd.org Subject: Re: Gdm and user localization Message-ID: <46D83CB0.9020708@fastmail.fm> In-Reply-To: <fb961r$orm$1@sea.gmane.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> <fb961r$orm$1@sea.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Marcin Wisnicki ha scritto: > On Fri, 31 Aug 2007 03:10:37 -0400, Joe Marcus Clarke wrote: > >> On Fri, 2007-08-31 at 09:02 +0200, Alberto Rizzi wrote: >>> Seems that gdm use the system default language, but how can I set the >>> system default language? >>> >>> I can set the user language (in .login_conf) or the user-class language >>> (in login.conf) but how can I set a system default language? >>> >>> Through an environment variable? >> For now, edit /usr/local/etc/rc.d/gdm and add: >> >> export LANG=it_IT.UTF-8 >> >> Joe This works but it is only a partial solution, because in works only for gdm, and not other programs > > 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 I have to export the LANG variable for each user, with or without shell access. If I export LANG through /etc/profile I accomplish this task but that overrides settings in ~/.login_conf I need something that is indipendent from the shell and doesn't ovverride settings in ~/.login_conf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46D83CB0.9020708>