From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1GrKE1-0006k4-6V for garchives@archives.gentoo.org; Mon, 04 Dec 2006 20:15:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kB4KCZWk025824; Mon, 4 Dec 2006 20:12:35 GMT Received: from shuttle.zlin.dk (port78.ds1-abs.adsl.cybercity.dk [212.242.227.17]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kB4KCYhr001489 for ; Mon, 4 Dec 2006 20:12:34 GMT Received: from BA.zlin.dk (unknown [10.0.0.3]) by shuttle.zlin.dk (Postfix) with ESMTP id 446A030037 for ; Mon, 4 Dec 2006 21:12:34 +0100 (CET) From: Bo =?iso-8859-1?q?=D8rsted_Andresen?= To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] locales questions Date: Mon, 4 Dec 2006 21:12:22 +0100 User-Agent: KMail/1.9.5 References: <5bdc1c8b0612041030v2b6e0c5dr23c99a80f432c678@mail.gmail.com> <200612041944.11065.bo.andresen@zlin.dk> <5bdc1c8b0612041133w192397cega270af3bcc74afe4@mail.gmail.com> In-Reply-To: <5bdc1c8b0612041133w192397cega270af3bcc74afe4@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1438203.2RxlSENIyi"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200612042112.32836.bo.andresen@zlin.dk> X-Archives-Salt: 72e9f025-c9f1-45f3-aad2-7dd01fbae496 X-Archives-Hash: 5bb5af23b90b1ff1c9890876ff95bbbd --nextPart1438203.2RxlSENIyi Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 04 December 2006 20:33, Mark Knecht wrote: [SNIP] > Reading the localization and quick install guides I've become a bit > more confused. The localization guide says the LC_* settings are done > in /etc/env.d/02locale but this doesn't exist here, not even after > running locale-gen: [SNIP] Setting LANG in 02locale is preferred over setting LC_ALL since that allows= =20 you to override it with LC_ALL on the command line. And no, it isn't=20 generated automatically. You must create this file by yourself. After that= =20 you need to run `env-update && source /etc/profile`. > The current contents of locales.build are shown here. Seems fairly > generic but what do I know? ;-) > > lightning ~ # cat /etc/locales.build [SNIP] > en_US/ISO-8859-1 > en_US.UTF-8/UTF-8 > lightning ~ # The syntax of locale.gen is more strict than the syntax of locales.build. T= he=20 above is valid for locales.build. In locale.gen it must be: # cat /etc/locale.gen en_US ISO-8859-1 en_US.UTF-8 UTF-8 You must create that file and remove locales.build manually before running= =20 locale-gen. locale-gen told you that if you bothered to read it...: [SNIP] > * You should upgrade your /etc/locales.build to /etc/locale.gen > * and then remove /etc/locales.build when you're done. > > * Automatically importing locales from /etc/locales.build ... > * You really should do this yourself ... [SNIP] =46inally `locale -a` will show you valid values for LANG and LC_*. # locale -a en_US en_US.utf8 =2D-=20 Bo Andresen --nextPart1438203.2RxlSENIyi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFdIEw8/kKEzmwNNoRAuHrAJ4/ahEywqBWBh2v6zUkQ9G4Q3d02gCeP8Pa hX1Gm5Nt0Mix/QVJRJUDtJg= =2dVb -----END PGP SIGNATURE----- --nextPart1438203.2RxlSENIyi-- -- gentoo-amd64@gentoo.org mailing list