Gdm and user localization [solved]

Alberto Rizzi greenant at fastmail.fm
Fri Aug 31 10:51:18 PDT 2007


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.


More information about the freebsd-gnome mailing list