From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?RnLDqWTDqXJpYw==?= Perrin Newsgroups: gmane.emacs.devel Subject: Re: Woman path : adding l10n man pages Date: Wed, 9 Jan 2008 16:35:40 +0100 Message-ID: <20080109163540.7715378f@girafe.maisel.enst-bretagne.fr> References: <20071231144731.6993df8e@girafe.maisel.enst-bretagne.fr> <20080108151446.7bcd3769@girafe.maisel.enst-bretagne.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1199895173 30628 80.91.229.12 (9 Jan 2008 16:12:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2008 16:12:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 09 17:13:13 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JCdYG-0002PQ-O3 for ged-emacs-devel@m.gmane.org; Wed, 09 Jan 2008 17:13:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCdXt-00084O-8H for ged-emacs-devel@m.gmane.org; Wed, 09 Jan 2008 11:12:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCdXp-00082o-Fv for emacs-devel@gnu.org; Wed, 09 Jan 2008 11:12:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCdXo-00081K-2g for emacs-devel@gnu.org; Wed, 09 Jan 2008 11:12:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCdXn-000819-Td for emacs-devel@gnu.org; Wed, 09 Jan 2008 11:12:43 -0500 Original-Received: from coliposte.enst-bretagne.fr ([192.108.115.12]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCdXn-0004IF-JB for emacs-devel@gnu.org; Wed, 09 Jan 2008 11:12:43 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by coliposte.enst-bretagne.fr (8.13.7/8.13.7/2006.08.14) with ESMTP id m09FaIJ3020001; Wed, 9 Jan 2008 16:36:18 +0100 Original-Received: from maisel-gw.enst-bretagne.fr (maisel-gw.enst-bretagne.fr [192.44.76.8]) by coliposte.enst-bretagne.fr (8.13.7/8.13.7/2007.03.20) with ESMTP id m09FaAi4019974; Wed, 9 Jan 2008 16:36:12 +0100 Original-Received: from localhost (localhost.maisel.enst-bretagne.fr [127.0.0.1]) by maisel-gw.enst-bretagne.fr (Postfix) with ESMTP id 5CF5349621; Wed, 9 Jan 2008 16:36:07 +0100 (CET) Original-Received: from maisel-gw.enst-bretagne.fr ([127.0.0.1]) by localhost (venus.maisel.enst-bretagne.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F2N34ssgd4CY; Wed, 9 Jan 2008 16:36:07 +0100 (CET) Original-Received: from girafe.maisel.enst-bretagne.fr (girafe.maisel.enst-bretagne.fr [172.22.206.119]) by maisel-gw.enst-bretagne.fr (Postfix) with ESMTP id 0B3394961D; Wed, 9 Jan 2008 16:36:06 +0100 (CET) In-Reply-To: X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.3; i486-pc-linux-gnu) X-Virus-Scanned: amavisd-new at enst-bretagne.fr X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86648 Archived-At: Le Tue, 08 Jan 2008 16:38:04 +0100, Andreas Schwab a =C3=A9crit : > Fr=C3=A9d=C3=A9ric Perrin writes: >=20 > >> (substring (getenv > >> "LANG") 0 2)))) (add-to-list 'manpath >=20 > LANG can also contain a language alias. There is no requirement > that the first two character have anything to do with the language > code. Moreover, the language should actually be derived from > LC_MESSAGES. >=20 > Andreas. I didn't know that. Changing LANG into LC_MESSAGES is trivial, but I cannot parse it so as to get the user's language's two letter code. I don't know the possible aliases, and even if I did, I wouldn't be able to do it in Lisp. Could someone do that ? I would be very nice to have woman display localised man pages, just like man(1) does. --=20 Fred