Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2014 18:39:18 +0200
From:      ddddd dddd <sin_jen@hotmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   RE: Language in FreeBSD
Message-ID:  <SNT147-W71EB152CFBC95BD29B0D7A85190@phx.gbl>
In-Reply-To: <20140618045740.df8739e7.freebsd@edvax.de>
References:  <SNT147-W915FFBB6335269217953EA85160@phx.gbl>, <20140616135108.40d4ac41@kalimero.tijl.coosemans.org>, <SNT147-W65CDB00D2CC7B8F5A53C2E85110@phx.gbl>, <20140618045740.df8739e7.freebsd@edvax.de>

index | next in thread | previous in thread | raw e-mail



----------------------------------------

> According to "man login.conf", setting lang= will set $LANG,
> but it will not set any of the LC_* variables. If I remember
> correctly, $LANG has precedence.
>
> If you want to set LC_* variables via ~/.login_conf, you can
> use the setenv= parameter.
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...

Ok, I got it to work good enough using .login_conf like you said now. I had already tried that, so I don't know what was wrong before. 
Both accents and extra letters now work in sh, csh and vi, but not in ed and cdcontrol, I also see the "£" isn't working in ttyv, but unless someone has a quick solution for those problems, I won't care about that for now. 

The translation of FreeBSD itself to Norwegian is started it seems, but it looks like it's still over 99% in English. However, this means all new programs I install from ports or packages who are translated, like Firefox, will be in Norwegian, right?


Also, when I type locale, I can see some of the values are inside quotes for some reason  (it's not written like that in the .login_conf file), and some are not, the values with quotes don't set the variables, like $LC_TIME. But $LANG and $LC_ALL work, so it's probably no problem there.
 		 	   		  

home | help

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