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 <[EMAIL PROTECTED]> Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]