From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: i18n, gettext support Date: Mon, 23 Aug 2004 10:58:06 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87wtzqr7q9.fsf@zip.com.au> References: <200408202226.10769.bruno@clisp.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093222756 2078 80.91.224.253 (23 Aug 2004 00:59:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Aug 2004 00:59:16 +0000 (UTC) Cc: guile-devel@gnu.org, Jan Nieuwenhuizen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Aug 23 02:59:08 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bz3Ay-0004qa-00 for ; Mon, 23 Aug 2004 02:59:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bz3FO-0006ik-PH for guile-devel@m.gmane.org; Sun, 22 Aug 2004 21:03:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bz3F6-0006Yu-2d for guile-devel@gnu.org; Sun, 22 Aug 2004 21:03:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bz3F3-0006X9-VD for guile-devel@gnu.org; Sun, 22 Aug 2004 21:03:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bz3F3-0006X4-Qz for guile-devel@gnu.org; Sun, 22 Aug 2004 21:03:21 -0400 Original-Received: from [61.8.0.84] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bz3AX-0006cr-Gw; Sun, 22 Aug 2004 20:58:42 -0400 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout1.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i7N0wW4u020450; Mon, 23 Aug 2004 10:58:32 +1000 Original-Received: from localhost (ppp2B76.dyn.pacific.net.au [61.8.43.118]) by mailproxy1.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i7N0wTlY020531; Mon, 23 Aug 2004 10:58:30 +1000 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1Bz3A1-0000HN-00; Mon, 23 Aug 2004 10:58:09 +1000 Original-To: Bruno Haible Mail-Copies-To: never User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4009 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4009 Bruno Haible writes: > > (use-modules (i18n)) It's probably important enough to have in the core. > (set! (i18n:textdomain) "hello-guile") I'd just call the functions plain "textdomain" etc. > (define _ i18n:gettext) Could provide that binding by default, to encourage its use. > The ice-9 format string facility with its ~n@* facility is sufficient for > i18n. Many programs probably use only the core `simple-format' version of format, which lacks ~*. Might be worth adding there. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel