From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22028 invoked from network); 8 Aug 2005 12:19:47 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 8 Aug 2005 12:19:47 -0000 Received: (qmail 48411 invoked from network); 8 Aug 2005 12:19:38 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 Aug 2005 12:19:38 -0000 Received: (qmail 22751 invoked by alias); 8 Aug 2005 12:19:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21573 Received: (qmail 22740 invoked from network); 8 Aug 2005 12:19:36 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 8 Aug 2005 12:19:36 -0000 Received: (qmail 48148 invoked from network); 8 Aug 2005 12:19:36 -0000 Received: from zproxy.gmail.com (64.233.162.200) by a.mx.sunsite.dk with SMTP; 8 Aug 2005 12:19:32 -0000 Received: by zproxy.gmail.com with SMTP id i11so592420nzh for ; Mon, 08 Aug 2005 05:19:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mi0WUaewird+JlhAF2Wq6sQto7pMWzWAsev0+s+ZbJgdhtzV2h66N7JzL9NHbKSNrhpShehMAL9U/yZuArSPfsNc6w8UveKwrG1xjQ2qSS194oOLElexOosk96h8nYMUfMPmiKBq/nsS2a+ZON1Cg2eOXvGFfG8+X5qF8yqqHco= Received: by 10.36.20.20 with SMTP id 20mr2238833nzt; Mon, 08 Aug 2005 05:19:30 -0700 (PDT) Received: by 10.36.19.1 with HTTP; Mon, 8 Aug 2005 05:19:30 -0700 (PDT) Message-ID: <237967ef050808051952243c18@mail.gmail.com> Date: Mon, 8 Aug 2005 14:19:30 +0200 From: Mikael Magnusson To: zsh-workers@sunsite.dk Subject: Re: simple completion example? (aptitude completion doesn't work) In-Reply-To: <30056.1123491980@trentino.groupinfra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050802180158.GA10402@spiegl.de> <19401.1123058911@trentino.groupinfra.com> <20050803101007.GA9755@spiegl.de> <2356.1123064346@trentino.groupinfra.com> <20050805154030.GA16800@spiegl.de> <32449.1123262228@trentino.groupinfra.com> <20050805193652.GA6842@spiegl.de> <30056.1123491980@trentino.groupinfra.com> X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RCVD_BY_IP autolearn=ham version=3.0.4 On 8/8/05, Oliver Kiddle wrote: > On 5 Aug, Andy Spiegl wrote: >=20 > > > If aptitude -h is giving you a German (or other) translation, try add= ing > > > LC_MESSAGES=3DC in but I don't think that translation would actually = break > > > it in this particular case. > > YES, that was it! Of course, why didn't I think of that!? >=20 > We seem to be getting a lot of these translation related problems. Could > do with someone finding the time to look through for any further > instances. >=20 > > But there isn't such a big difference...Hm, maybe Verwendung instead of= usage? > > Can you think of a workaround for international users like me? >=20 > In general, the patch below adding LC_MESSAGES=3DC does the job. >=20 > It's very tempting to try to make the parsing work with the German > output so that people get translated descriptions. However, if the > formats aren't consistent it's probably only asking for trouble. And the > completion code probably wouldn't handle the umlauts too well either. >=20 > Oliver Setting LC_MESSAGES when LC_ALL is already set won't have any effect iirc, maybe you should also put LC_ALL=3D"" there? --=20 Mikael Magnusson