Re: Jive -> Kernel (International Linux) (fwd)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 20 Jan 1997 21:00:08 +0000 (GMT)


> > - If you are that deep in trouble that you have to deal with a
> > serious *kernel* error message: If you want to ask somewhere
> > (here for example) you'll probably want to post the english
> > messages to be sure people understand them.
> Someone offered a solution to this. Only use numbers in the log files and
> display the appropiate translation with a special viewer program (got this
> right?)

What about during boot.

I'd be happy to see a tool that could 'language' a kernel, and if need be
some small in kernel hints for translation parsing. That keeps the problem
out of the kernel and a bunch of non kernel people can do the job. If it
goes out of date they get some english messages.

All that would need is put something like

TXT("xxxx")

around strings to be translated.

eg

printk(KERN_DEBUG TXT("....."), 1,2,3)

and

#define TXT(x)

That seems simple, out of the kernels way and easy to handle. Ideally
the parser wouldnt need the TXT hint.

Alan