unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Frédéric Perrin" <frederic.perrin@resel.fr>
To: Andreas Schwab <schwab@suse.de>
Cc: emacs-devel@gnu.org
Subject: Re: Woman path : adding l10n man pages
Date: Wed, 9 Jan 2008 16:35:40 +0100	[thread overview]
Message-ID: <20080109163540.7715378f@girafe.maisel.enst-bretagne.fr> (raw)
In-Reply-To: <jehchoiazn.fsf@sykes.suse.de>

Le Tue, 08 Jan 2008 16:38:04 +0100, Andreas Schwab
<schwab@suse.de> a écrit :

> Frédéric Perrin <frederic.perrin@resel.fr> writes:
> 
> >> 					  (substring (getenv
> >> "LANG") 0 2)))) (add-to-list 'manpath
> 
> 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.
> 
> 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.

-- 
Fred

  reply	other threads:[~2008-01-09 15:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-31 13:47 Woman path : adding l10n man pages Frédéric Perrin
2008-01-08 14:14 ` Frédéric Perrin
2008-01-08 15:38   ` Andreas Schwab
2008-01-09 15:35     ` Frédéric Perrin [this message]
2008-01-12 18:01     ` Frédéric Perrin
2008-02-04 19:58     ` Glenn Morris
2008-02-16 20:01       ` Frédéric Perrin
2008-02-16 22:13         ` Glenn Morris
2008-02-16 23:32           ` Juri Linkov
2008-02-17  0:18             ` Glenn Morris
2008-02-17  0:43               ` Juri Linkov
2008-02-17 23:15                 ` Glenn Morris
2008-02-17 23:35                   ` Juri Linkov
2008-02-18  0:02                     ` Glenn Morris
2008-02-18  0:41                       ` Juri Linkov
2008-02-18  1:14                         ` Miles Bader
2008-02-18 23:35                           ` Juri Linkov
2008-02-19  0:18                             ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080109163540.7715378f@girafe.maisel.enst-bretagne.fr \
    --to=frederic.perrin@resel.fr \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).