Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2007 19:50:59 +0200
From:      Alberto Rizzi <greenant@fastmail.fm>
To:        freebsd-gnome@freebsd.org
Subject:   Re: Gdm and user localization [solved]
Message-ID:  <46D85503.5050903@fastmail.fm>
In-Reply-To: <fb9jg1$dus$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> <46D83CB0.9020708@fastmail.fm>	<fb9g7e$orm$2@sea.gmane.org> <46D84E28.2060704@fastmail.fm> <fb9jg1$dus$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcin Wisnicki ha scritto:
>> 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`
> 
> ". /etc/sysconfig/language" sources that file (includes its content in 
> place of dot)
> 
> Commands contained within backticks "`" are executed and replaced with 
> their output.
> 
> So in this case it will execute contents of /etc/sysconfig/language 
> (hence the need of "echo") then execute "echo $RC_LANG".
> 
> Output of this will be assigned to variable LANG.
> 
> So from the look of it there is also a third option to localize gdm by 
> setting RC_LANG in /etc/profile.
> 

Thanks, now I understand the script and gdm is translated in italian.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46D85503.5050903>