From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: dir(Top) is in French ?!? Date: Mon, 28 Apr 2014 20:49:45 +0300 Message-ID: <834n1dny2u.fsf@gnu.org> References: <86vbtup2ko.fsf@gmail.com> <867g695pi3.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1398707411 32636 80.91.229.3 (28 Apr 2014 17:50:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2014 17:50:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 28 19:50:04 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wepgq-0002Qw-5n for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Apr 2014 19:50:04 +0200 Original-Received: from localhost ([::1]:45235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wepgp-0003M4-SL for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Apr 2014 13:50:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WepgZ-0003GJ-0z for help-gnu-emacs@gnu.org; Mon, 28 Apr 2014 13:49:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WepgT-0007Jm-3O for help-gnu-emacs@gnu.org; Mon, 28 Apr 2014 13:49:46 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:46991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WepgS-0007JZ-Qf for help-gnu-emacs@gnu.org; Mon, 28 Apr 2014 13:49:41 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N4R0080058QE600@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Mon, 28 Apr 2014 20:49:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4R0086R5IR1O70@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Mon, 28 Apr 2014 20:49:39 +0300 (IDT) In-reply-to: <867g695pi3.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97427 Archived-At: > From: David Masterson > Date: Mon, 28 Apr 2014 10:32:20 -0700 > > Eli Zaretskii writes: > > > This is not an Emacs problem. This is how the install-info.exe > > program (part of the Texinfo package) works: it localizes these > > introductory instructions to the Info system when it installs Info > > files. > > I don't have the source code installed, but I don't believe that is > true. >From install-info.c: desc = open (dirfile, O_RDONLY); if (desc < 0 && errno == ENOENT) { FILE *f; char *readerr = strerror (errno); close (desc); f = fopen (dirfile, "w"); if (f) { fprintf (f, _("This is the file .../info/dir, which contains the\n\ topmost node of the Info hierarchy, called (dir)Top.\n\ The first time you invoke Info you start off looking at this node.\n\ %c\n\ %s\tThis is the top of the INFO tree\n\ \n\ [...] As you probably know, text that is in _() will be replaced by gettext with its localized translation.