Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]

Linus Torvalds
2018-07-31T21:21:27Z

On Tue, Jul 31, 2018 at 2:00 PM David Howells <dhowells@redhat.com> 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