From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Fwd: A system for localizing documentation strings Date: Fri, 27 Jul 2007 14:14:24 +0300 Message-ID: References: <795F38F4-7253-47DC-97DD-53BED4F0AB97@mx6.tiki.ne.jp> <871weuk228.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1185534946 7649 80.91.229.12 (27 Jul 2007 11:15:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jul 2007 11:15:46 +0000 (UTC) Cc: stephen@xemacs.org, fusion@mx6.tiki.ne.jp, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 27 13:15:39 2007 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 1IENnD-0008Fo-7L for ged-emacs-devel@m.gmane.org; Fri, 27 Jul 2007 13:15:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IENnC-000068-7J for ged-emacs-devel@m.gmane.org; Fri, 27 Jul 2007 07:15:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IENmA-00086q-Mi for emacs-devel@gnu.org; Fri, 27 Jul 2007 07:14:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IENm8-000834-0d for emacs-devel@gnu.org; Fri, 27 Jul 2007 07:14:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IENm7-00082k-Nc for emacs-devel@gnu.org; Fri, 27 Jul 2007 07:14:27 -0400 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IENm7-0000ML-CH for emacs-devel@gnu.org; Fri, 27 Jul 2007 07:14:27 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-3-118.inter.net.il [83.130.3.118]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id HJL75469 (AUTH halo1); Fri, 27 Jul 2007 14:14:35 +0300 (IDT) In-reply-to: (message from Andreas Schwab on Fri, 27 Jul 2007 11:53:00 +0200) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:75655 Archived-At: > From: Andreas Schwab > Cc: Eli Zaretskii , fusion@mx6.tiki.ne.jp, > emacs-devel@gnu.org > Date: Fri, 27 Jul 2007 11:53:00 +0200 > > "Stephen J. Turnbull" writes: > > > Eli Zaretskii writes: > > > > > I didn't know gettext supported message strings in comments. Does > > > it? > > > > gettext() itself obviously doesn't, since comments aren't executable. > > Extraction tools like xgettext should, they aren't supposed to parse > > the text beyond the _() macro. > > It is not required to use xgettext for message extraction, you can just > as easily roll your own. It should be trivial to extend make-docfile to > emit POT files as well. If we don't use xgettext to gather the strings, and if we don't use the `gettext' function to print the translated strings (because the original one is not in the code generated from the C sources), then we are not really using gettext, are we?