From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f196.google.com ([209.85.223.196]:46460 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731121AbeGaXDg (ORCPT ); Tue, 31 Jul 2018 19:03:36 -0400 MIME-Version: 1.0 References: <20180730183847.GB5544@bombadil.infradead.org> <20180730194938.GA12962@bombadil.infradead.org> <20180730210209.GY21725@thunk.org> <20180730235849.GA19692@bombadil.infradead.org> <20180731005802.GB21725@thunk.org> <18974.1533031913@warthog.procyon.org.uk> <20180731113422.GA22939@amd> <20180731120752.GA23378@bombadil.infradead.org> <4951.1533042037@warthog.procyon.org.uk> <20180731193905.GA28700@amd> <22672.1533070815@warthog.procyon.org.uk> In-Reply-To: <22672.1533070815@warthog.procyon.org.uk> From: Linus Torvalds Date: Tue, 31 Jul 2018 14:21:09 -0700 Message-ID: Subject: Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10] To: David Howells Cc: Pavel Machek , Matthew Wilcox , "Theodore Ts'o" , Al Viro , linux-fsdevel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Jul 31, 2018 at 2:00 PM David Howells wrote: > > IIRC, Windows DLL translation tables get around this by having format-string > tables with numbered parameter substitution markers. That's what gettext() does too. It's one of the reasons I *really* don't want to have this be an issue at all in the kernel. It's just too painful and nasty for words. People get it wrong all the time. And even when you do it, you have issues with plural endings (which also have markers so that you *can* get it right, and nobody ever does) etc etc. Really. No translation. No design for translation. It's a nasty nasty rat-hole, and it's a pain for everybody. There's another reason I _fundamentally_ don't want translations for any kernel interfaces. If I get an error report, I want to be able to just 'git grep" it. Translations make that basically impossible. So the fact is, I want simple English interfaces. And people who have issues with that should just not use them. End of story. Use the existing error numbers if you want internationalization, and live with the fact that you only get the very limited error number. It's really that simple. Linus