Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752518AbYJ0QNO (ORCPT ); Mon, 27 Oct 2008 12:13:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750876AbYJ0QM6 (ORCPT ); Mon, 27 Oct 2008 12:12:58 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:51868 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750795AbYJ0QM5 (ORCPT ); Mon, 27 Oct 2008 12:12:57 -0400 Date: Mon, 27 Oct 2008 09:10:56 -0700 (PDT) From: Linus Torvalds To: Alan Cox cc: Martin Schwidefsky , Heiko Carstens , Andrew Morton , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: Re: [GIT PULL/RESEND] kernel message catalog patches In-Reply-To: <20081027160359.37db885c@lxorguk.ukuu.org.uk> Message-ID: References: <1224168620.9617.14.camel@localhost> <1224230354.4631.1.camel@localhost> <20081021092148.GB4980@osiris.boeblingen.de.ibm.com> <20081023210446.GA12003@osiris.boeblingen.de.ibm.com> <1225049195.14057.72.camel@localhost> <1225101688.15777.6.camel@localhost> <20081027160359.37db885c@lxorguk.ukuu.org.uk> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1658 Lines: 35 On Mon, 27 Oct 2008, Alan Cox wrote: > > > And as for the actual explanations: either they need to be totally outside > > the kernel (in a project of their own), or they'd need to be "kernel-doc" > > style things that are _in_ the source code. Not in Documentation/. Not > > separate from the printk() that they are associated with. > > You really don't want 32 languages in mixed left/right rendering with > multiple fonts in your kernel source. At least not with most editing and > viewing tools.... I do agree. Another issue is that quite often the actual line to be printed is likely fairly short, and often in an error path (so it's indented and in an inconvenient place), but the explanation - even for a _single_ language - may well be pretty involved and long. Which is why I think for something like this, it really needs to be entirely outside. Because putting it inside the kernel simply isn't going to result in anything really useful. Either it can be close to the message and be updated reasonably (never mind that if we really do support multiple languages, that's not going to happen anyway, even if it's close), or it's going to be somewhere else and not be updated when changes happen - and then it migth as well be a separate project. The 'separate project' is especially appropriate since any parsing won't be done by the kernel anyway, but by some ksyslog thing. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/