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 1Om545-0000U9-PR for garchives@archives.gentoo.org; Thu, 19 Aug 2010 13:21:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C8C7E0780; Thu, 19 Aug 2010 13:21:31 +0000 (UTC) Received: from mail-px0-f181.google.com (mail-px0-f181.google.com [209.85.212.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 4FE55E0780 for ; Thu, 19 Aug 2010 13:21:31 +0000 (UTC) Received: by pxi5 with SMTP id 5so1105133pxi.40 for ; Thu, 19 Aug 2010 06:21:30 -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=yIojm0mRkJ8VwfvD3XKczZRdMkI9R31Mcs5629KOVKU=; b=F/+tzZKcLfFnIrV4IGnsKeB8JRT9yGlsGR/O3CvffTzqS7/0ktvs1Czmn+4U+iIKXx dnhZvlI+x5D3O/Osb2FovvwBq+ChF5nsE90vZFVSotk1PMqYCef6nZYdG78j+PIy26ht IrysmYgJomon1h+Ij6WELry9FcZUqaLRNe5Fg= 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=KPCDqgRZO1rJc8r5/lhzx8TVI1IBkWiWGazf0v7bmal5idd23yDsoFbJwH3brPbhRC Deth5knoqPL0lUdIGh4kyNA0Ks5j8oZjuKKdMWFCeaU1lyDVcr6I/aHCipEXIZ0fAZ3J n1TQg4AXjbc38cY8mohVKpwvpzWDBuSUJDP8w= 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.142.57.10 with SMTP id f10mr8061737wfa.104.1282224090177; Thu, 19 Aug 2010 06:21:30 -0700 (PDT) Received: by 10.220.198.138 with HTTP; Thu, 19 Aug 2010 06:21:29 -0700 (PDT) In-Reply-To: References: <201008182339.17677.alan.mckinnon@gmail.com> <87pqxeu6s8.fsf@newton.gmurray.org.uk> Date: Thu, 19 Aug 2010 16:21:29 +0300 Message-ID: Subject: Re: [gentoo-user] LINGUAS From: "Arttu V." To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b1a12f78-f407-46cc-9800-918aa9aa8f3b X-Archives-Hash: b77962ea4bb3533f4e679012e00c51ea On 8/19/10, Florian CROUZAT wrote: > > On 19 ao=FBt 2010, at 14:27, Graham Murray wrote: > >> Several packages, not just OpenOffice, can include/support different >> languages. Portage uses the value of LINGUAS to tell these packages >> which languages to include/support. > > I have access to this box where linguas=3Dfr is set. > Check this output: > $ type -a [ > [ est une primitive du shell > [ est /usr/bin/[ > > [ is a shell built-in becomes "est une primitive du shell" > I can't see any use flags in coreutils/bash that informs me it will be > emerged with the linguas support. > How do I know which package will be localized then ? Just curious, I don'= t > tweak my linguas. Check for the tell-tale USE=3D"nls" flag in the ebuilds. Not all ebuild's bother listing explicitly out all of the LINGUAS their sources actually support. coreutils is one of the lazy ones. Just look at its sources: 39 different .po files, that's 39 localizations available. No point printing out such monstrous long lists -- your localization is in there, period! ;) But coreutils does obey LINGUAS anyway. It only installs what you have in your LINGUAS (check, e.g., with equery files coreutils). Openoffice is a special case (surprise!). Its ebuild depends dynamically on spell-check packages depending on the value of LINGUAS -- so the poor Gentoo OOo maintainers must list out every supported lingua in the ebuild. :) --=20 Arttu V. -- Running Gentoo is like running with scissors