Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Nov 2012 19:25:54 -0600
From:      Joseph a Nagy Jr <>
To:        Polytropon <>
Cc:        FreeBSD Questions <>
Subject:   Re: Xiphos Locale Bug?
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: multipart/mixed;

This is a multi-part message in MIME format.
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 11/05/12 19:19, Polytropon wrote:
> On Mon, 05 Nov 2012 18:54:43 -0600, Joseph a Nagy Jr wrote:
>> FreeBSD 9.0-RELEASE, i386
>> Xiphos is giving me a strange warning[0], and I'm not quite sure what =
>> make of it.
> Currently "C" is set as the default language setting (locale)
> for that specific program. It cannot handle it and probably
> won't (as indicated) translate things properly. "C" is the
> typical fallback locale.

Really? Seems a bit odd.

> See the settings of $LANG and the $LC_* variables. There is
> a specific precedence in their evaluation!

Ah, I will have to read up on those, for future reference.

>> #
>> # American Users Accounts. Setup proper environment variables.
>> #
>> american|American Users Accounts:\
>>        :charset=3Diso-8859-1:\
>>        :lang=3Den_US.iso-8859-1:\
>>        :tc=3Ddefault:
>> Basically I copied the Russian settings (and then commented them out,
>> not sure why they are uncommented by default), replacing the lang and
>> charset as appropriate (I don't care how many of you like UTF-8, eithe=
>> keep it to yourselves).
> Looks fully valid.


>> Should I just re-compile now that I've explicitly set things?
> Why? Language settings are evaluated at runtime, no need to
> compile anything. As you have made the change to login.conf
> (at the global level), make sure your user account doesn't
> override anything. Also check if you need to run cap_mkdb
> to create login.conf.db from your settings.

I already ran it, I just need to logout/in after LibreOffice is done

> Alternatively (usually not recommended, but works) you can
> set (i. e. setenv) language variables in /etc/csh.cshrc
> globally, or ~/.cshrc for your user account.
> Example:
> 	setenv	LC_ALL		en_US.ISO8859-1
> 	setenv	LC_MESSAGES	en_US.ISO8859-1
> 	setenv	LC_COLLATE	de_DE.ISO8859-1
> 	setenv	LC_CTYPE	de_DE.ISO8859-1
> 	setenv	LC_MONETARY	de_DE.ISO8859-1
> 	setenv	LC_NUMERIC	de_DE.ISO8859-1
> 	setenv	LC_TIME		de_DE.ISO8859-1
> 	unsetenv LANG
> That will leave english text intact (most usable language
> setting for most programs), but allow specific settings like
> time notation or collation according to the german rules.

Will keep that in mind for future reference. I'm going to be learning
one or two new languages soon and that will be helpful when I go to set
up a new user to practice reading (and not just talking) those languages.=

Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL


Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla -



Want to link to this message? Use this URL: <>