Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: simple completion example? (aptitude completion doesn't work)



On 8/8/05, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> On 5 Aug, Andy Spiegl wrote:
> 
> > > If aptitude -h is giving you a German (or other) translation, try adding
> > > LC_MESSAGES=C 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!?
> 
> 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.
> 
> > 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?
> 
> In general, the patch below adding LC_MESSAGES=C does the job.
> 
> 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.
> 
> Oliver

Setting LC_MESSAGES when LC_ALL is already set won't have any effect
iirc, maybe you should also put LC_ALL="" there?

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author