From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OR44p-0005Dp-42 for garchives@archives.gentoo.org; Tue, 22 Jun 2010 14:03:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E7C5E0B33 for ; Tue, 22 Jun 2010 14:03:46 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 5E012E0A97 for ; Tue, 22 Jun 2010 13:38:59 +0000 (UTC) Received: by wyb35 with SMTP id 35so3706813wyb.40 for ; Tue, 22 Jun 2010 06:38:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=vBBAkapyhBcfYxq1ewXGwhptvCWxgZSHYltCtCZ2nK4=; b=eKSVJPScIvaCcolGpdfqF7uAqKr4iljRqc7vdZDcvPhthbRZyJfzotswbaK4HFj8DB eZKc2L7eWsbVJwPZyYnG8hIs1yVaXFhmcMy/lN1Q8iHiQ32DZiCaithRx92Qvi8bUG8A gC2K1MpCleBiGXioCHohYqE0V4pCBB0ZXnGxo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=HKLhxj5MjMYnBWCn1dGooqLNqT8uOG3jv+8YaOnYeMeXc8WSvLcOoWqCp4O1wCxdji TqFKO8737gIL9H3y+IJHAPPGocL/2D68r7IyoqOeEBunLy+j7aGPFSWW3M5WvHM3I+/m Pq0YRd2y1K6tgvXjAUGQWPxII2ZXrtlis7cp0= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.160.80 with SMTP id t58mr1316023wek.70.1277213938560; Tue, 22 Jun 2010 06:38:58 -0700 (PDT) Received: by 10.216.162.71 with HTTP; Tue, 22 Jun 2010 06:38:56 -0700 (PDT) In-Reply-To: <1277169274.32558.6.camel@ianto-gentoo-amd.home> References: <1277169274.32558.6.camel@ianto-gentoo-amd.home> Date: Tue, 22 Jun 2010 14:38:56 +0100 Message-ID: Subject: Re: [gentoo-user] Questions regarding the usage of multiple locales From: Mick To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 10fcc9dc-0ffe-4456-ba16-60fc58e5495c X-Archives-Hash: cbd6726fe234e2bfbf06720a415b0cda On 22 June 2010 02:14, Christopher Swift wrot= e: > I've setup my Gentoo box to use en_GB as the default locale > in /etc/env.d/02locale with tips from the Gentoo Localisation Guide[0]. > Is it at all possible to set a locale, i.e. cy_GB to be the primary LANG > parameter but if there is no .po for cy_GB or the .po is incomplete to > use en_GB as a backup instead of the default en_US? =A0So for example if > gedit were fully translated into Welsh (cy_GB) I could use gedit in > Welsh but emerge not being translated into Welsh would resort to en_GB > instead of en_US? I'm also interested in this - although my question is probably simpler: I would like to use en_GB but I do not undestand why running 'locale' as a plain user shows: $ locale LANG=3Den_US.UTF-8 LC_CTYPE=3D"en_US.UTF-8" LC_NUMERIC=3D"en_US.UTF-8" LC_TIME=3D"en_US.UTF-8" LC_COLLATE=3D"en_US.UTF-8" LC_MONETARY=3D"en_US.UTF-8" LC_MESSAGES=3D"en_US.UTF-8" LC_PAPER=3D"en_US.UTF-8" LC_NAME=3D"en_US.UTF-8" LC_ADDRESS=3D"en_US.UTF-8" LC_TELEPHONE=3D"en_US.UTF-8" LC_MEASUREMENT=3D"en_US.UTF-8" LC_IDENTIFICATION=3D"en_US.UTF-8" LC_ALL=3Den_US.UTF-8 why when running it as root: # locale LANG=3D LC_CTYPE=3D"POSIX" LC_NUMERIC=3D"POSIX" LC_TIME=3D"POSIX" LC_COLLATE=3D"POSIX" LC_MONETARY=3D"POSIX" LC_MESSAGES=3D"POSIX" LC_PAPER=3D"POSIX" LC_NAME=3D"POSIX" LC_ADDRESS=3D"POSIX" LC_TELEPHONE=3D"POSIX" LC_MEASUREMENT=3D"POSIX" LC_IDENTIFICATION=3D"POSIX" LC_ALL=3D I do not have set a /etc/env.d/02locale yet, so where is my plain user locale being read from? --=20 Regards, Mick