From owner-freebsd-questions@FreeBSD.ORG Tue Nov 6 01:26:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 292864FC for ; Tue, 6 Nov 2012 01:26:02 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id C75618FC15 for ; Tue, 6 Nov 2012 01:26:00 +0000 (UTC) Received: by mail-gg0-f182.google.com with SMTP id l1so1204331ggn.13 for ; Mon, 05 Nov 2012 17:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; bh=q38QJjEDv9m8ZXXoEIblpuxBWmJicyhASBuWKGphdzg=; b=R1gAYTcKb4jBEnZOU6ytKNPBGylDy7VF6D4GQHILbQex0nlr9OoM7Lu7jtDGe78smX 8/u/pYf8bUrOFaNr40ibDNeqtfwWt1J6ELCZCKVJ0SD7jskiGdmly8y/6DdjvC2Fnw7U rdAWW7JkRk+GA8wAQeSxn3Ea2Qc2RYez9CxKqNLofpzL+vJxKuHcuqq/YhjOaD7Kk05z ihBuUmZYizBNGy6UBlXQpd+ej5TeMgNbiejtCF6RSQ0ix01uwUrPamP6BsTd75NjDQ3K 3Ct01tMI/Ma1oqLigAtV9DFZ2K2TVV3teS088c5hhVwkk1fZJL/1s55d1qDnWJBZoJXq oB7g== Received: by 10.236.141.78 with SMTP id f54mr11025635yhj.92.1352165160088; Mon, 05 Nov 2012 17:26:00 -0800 (PST) Received: from alex-laptop.localhost (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id y18sm13393885anh.15.2012.11.05.17.25.58 (version=SSLv3 cipher=OTHER); Mon, 05 Nov 2012 17:25:59 -0800 (PST) Message-ID: <50986722.7020102@gmail.com> Date: Mon, 05 Nov 2012 19:25:54 -0600 From: Joseph a Nagy Jr User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121022 Thunderbird/16.0.1 MIME-Version: 1.0 To: Polytropon Subject: Re: Xiphos Locale Bug? References: <50985FD3.60107@gmail.com> <20121106021927.3f9a4cb2.freebsd@edvax.de> In-Reply-To: <20121106021927.3f9a4cb2.freebsd@edvax.de> X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4DD27BF2F56CED84503C19D8" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2012 01:26:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4DD27BF2F56CED84503C19D8 Content-Type: multipart/mixed; boundary="------------020002060408060706040101" This is a multi-part message in MIME format. --------------020002060408060706040101 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 = to >> make of it. >=20 > 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= r, >> keep it to yourselves). >=20 > Looks fully valid. Good. >> Should I just re-compile now that I've explicitly set things? >=20 > 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 compiling. > 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. >=20 > Example: >=20 > 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 >=20 > 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.= (: --=20 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 http://owl.apotheon.org --------------020002060408060706040101-- --------------enig4DD27BF2F56CED84503C19D8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQmGckAAoJECqR4kIlFcuBgUYH+wYyd49XKJJGGkkPe2fTzAc1 g0zuc3VETuG7o+lbU04lyxljtY7MI7YNzpxXMxm9nJjFCLEPFHUR0rWzY8k+Szex ujtVqScgMOKYZEXzF3t3daWB3CALXODUZBZ1AY81hKuytPwNdx5Zjf/HgFBi4D1p 1rihA4uW+eL84JwfHslapPRQk38RDEaACmKSVZAm4GCIPm35LWm3M3skWEUfBkLK xKzzvT22uKWo+ZMdY7n5K+O/yl+TcOs1ngdtSY9rO56GbH7tcocL4OQB3bUEXlKO mlzLivUauXJDZ9DuC0G32qwYgUlrzCl+I9LMHo8JsDLRjgVxbOBD+dpYd9gukjA= =UvSV -----END PGP SIGNATURE----- --------------enig4DD27BF2F56CED84503C19D8--