From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4340 invoked from network); 7 Dec 2007 17:27:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Dec 2007 17:27:28 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 75054 invoked from network); 7 Dec 2007 17:27:25 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Dec 2007 17:27:25 -0000 Received: (qmail 22964 invoked by alias); 7 Dec 2007 17:27:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24186 Received: (qmail 22949 invoked from network); 7 Dec 2007 17:27:22 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Dec 2007 17:27:22 -0000 Received: (qmail 74672 invoked from network); 7 Dec 2007 17:27:22 -0000 Received: from cluster-d.mailcontrol.com (217.69.20.190) by a.mx.sunsite.dk with SMTP; 7 Dec 2007 17:27:15 -0000 Received: from rly48d.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly48d.srv.mailcontrol.com (MailControl) with ESMTP id lB7HRD41020647 for ; Fri, 7 Dec 2007 17:27:13 GMT Received: from submission.mailcontrol.com (submission.mailcontrol.com [86.111.216.190]) by rly48d.srv.mailcontrol.com (MailControl) id lB7HQwLf018396 for zsh-workers@sunsite.dk; Fri, 7 Dec 2007 17:26:58 GMT Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly48d-eth0.srv.mailcontrol.com (envelope-sender Peter.Stephenson@csr.com) (MIMEDefang) with ESMTP id lB7HQwff018312; Fri, 07 Dec 2007 17:26:58 +0000 (GMT) Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Fri, 7 Dec 2007 17:26:57 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.14.1/8.13.4) with ESMTP id lB7HQvJB016520; Fri, 7 Dec 2007 17:26:57 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.14.1/8.14.1/Submit) with ESMTP id lB7HQv76016517; Fri, 7 Dec 2007 17:26:57 GMT Message-Id: <200712071726.lB7HQv76016517@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: 451382@bugs.debian.org, zsh-workers@sunsite.dk Subject: Re: Bug#451382: i18n is NOT so easy! In-reply-to: <20071207171511.GA2937@scowler.net> References: <20071205200825.148710@gmx.net> <20071206155436.GA6034@scowler.net> <200712061808.56054.ismail@pardus.org.tr> <20071206161022.GA6960@scowler.net> <20071207104413.74da4ef6@news01> <200712071411.lB7EBf2U014439@news01.csr.com> <20071207171511.GA2937@scowler.net> Comments: In-reply-to Clint Adams message dated "Fri, 07 Dec 2007 12:15:11 -0500." Date: Fri, 07 Dec 2007 17:26:57 +0000 From: Peter Stephenson X-OriginalArrivalTime: 07 Dec 2007 17:26:57.0706 (UTC) FILETIME=[5E6840A0:01C838F6] X-Scanned-By: MailControl A-06-00-00 (www.mailcontrol.com) on 10.68.1.158 Clint Adams wrote: > On Fri, Dec 07, 2007 at 02:11:41PM +0000, Peter Stephenson wrote: > > Found it: see thread around > > > > http://www.zsh.org/mla/workers/2006/msg00753.html > > I think it would be easier to do something like bash's $"" interface to > gettext and co-opt that for completion translations. As far as I understood it (it doesn't seem to be well documented) that only does translations which are pre-compiled into the shell (or rather its libraries). We need something which can be updated with completion functions. It's OK if the definitions are in another file (though we could presumably have an interface which adds translations from the completion function itself) but it needs to be added at run time. Possibly we can still do this with $"...", but I don't like the idea that if you change the original message you can no longer find the translation, which seems to me to be asking for trouble. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070