From owner-freebsd-arch@FreeBSD.ORG Tue Mar 31 06:48:36 2009 Return-Path: Delivered-To: arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6F891065670; Tue, 31 Mar 2009 06:48:36 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 725978FC15; Tue, 31 Mar 2009 06:48:36 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 8F7BC78CCD; Tue, 31 Mar 2009 06:48:35 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id n2V6mZ22096333; Tue, 31 Mar 2009 06:48:35 GMT (envelope-from phk@critter.freebsd.dk) To: David Schultz From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 31 Mar 2009 02:31:59 -0400." <20090331063159.GA9265@zim.MIT.EDU> Date: Tue, 31 Mar 2009 06:48:35 +0000 Message-ID: <96332.1238482115@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Daniel Eischen , FreeBSD Arch , Tim Kientzle , Marcel Moolenaar Subject: Re: On errno X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 06:48:37 -0000 In message <20090331063159.GA9265@zim.MIT.EDU>, David Schultz writes: >You could get the extensibility you're looking for without >annoying the i18n folks by making the strings conform to a simple >machine-parsable grammar. For instance, the above might be: > "geom:part:overlaps bootcode(3)" >A user-level library function could parse this, look up a natural >language translation in a locale-specific database, and fall back >on a generic format if no translation is available. Or maybe emit all messages in Esparanto and use automatic translation ? Seriously, I don't see anybody advocating that dmesg(1) output be translated, so until such time as somebody starts that pointless project, I think we can leave error messages from the kernel in the same language as pretty much everything else in our system: English. Don't overengineer it guys. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.