Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5162452imm; Tue, 31 Jul 2018 06:35:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc2ORn8y8OM9eKE647tyc/5MwOjeuhTDuq2V6YIZVse0ltlz/zn5Lf4lRDXLZ//1fseYE9F X-Received: by 2002:a62:6d02:: with SMTP id i2-v6mr22181114pfc.218.1533044151920; Tue, 31 Jul 2018 06:35:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533044151; cv=none; d=google.com; s=arc-20160816; b=uPk9ML5OPSwDr/OFiz4satVk4ada0kSE0mTrwYa9vuj2yDuqSRaZQddvvv98wucGkb 0F5rljjLvAeXksuks9K9luXapZ4BEPJRvOpmDLOkFEnn7ovdmfhgPuyes77DkU6Q7wYF dzmOZ1ltPPp1Jw95I9MwlRwPg4w261BvqyasZR/irtrhJilriJRv1C/FKMuKErQhkK83 JQDC0b+iORQEeY7ggVOEvKxRzVkCO/sIrVbBpT+IbQQo2W2qxH80w7N8YD3zKXW11Ne+ IM5ej6sv/KL9VKJ3JBXc03EgmWlCoLyznfhWR1T1O7X9eKlO4p15HA9chjeCs+zZoER8 w21g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=IxuZjYYbPZ01r1esC4AvKHv+cSPCP/rbBs1zCn3X5yM=; b=nmNr/ISHy0gjq4S8RBOnsOnZzqoI5w+pEtIzeoRLffg23UhqzFu3C5zOw2fKw/cHIt 1g1bvao6prxVc7eO/sUo38b6PXtkbNb9MqeNviGshdPPbnzu3ZSSwYFPFO/6g1ihmAOT lBS2n43wlaGAOuhVs7/A9A7oxL+kWAOm+ruh6d39FEjO/T6X5LH50nBIut8t0fDhpsIr WeuL6JZc8zPsUjxfAeWfbrrdjjydzEr6ILT92Wk2MY/KHGQXd21691KkRxa8dU4R2ujz +uO9p/OySmwI2oVnrYhyaNSFpArS2QVBvid3TpJq5oWIJ13A9kP3oQaRZKBrY0n4x+hS mGGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u64-v6si8307136pgu.533.2018.07.31.06.35.36; Tue, 31 Jul 2018 06:35:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732254AbeGaPOX (ORCPT + 99 others); Tue, 31 Jul 2018 11:14:23 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:44696 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729723AbeGaPOX (ORCPT ); Tue, 31 Jul 2018 11:14:23 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1fkUmW-0006tW-0O; Tue, 31 Jul 2018 13:33:44 +0000 Date: Tue, 31 Jul 2018 14:33:43 +0100 From: Al Viro To: Pavel Machek Cc: Matthew Wilcox , David Howells , "Theodore Y. Ts'o" , Linus Torvalds , linux-fsdevel , Linux Kernel Mailing List Subject: Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10] Message-ID: <20180731133343.GI30522@ZenIV.linux.org.uk> 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> <20180731122801.GA14972@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180731122801.GA14972@amd> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 31, 2018 at 02:28:01PM +0200, Pavel Machek wrote: > > Your proposal means that userspace needs to detect "%s file", determine > > if the corresponding string consists of ^[0-9]*$, then parse the string > > to figure out which of the plik* words is the correct one to use. > > Have you actually used computer set in slavic language? I have. > Receiving "5 > soubor(u) zkopirovano" is still preferable to message in english. *snort* How about "5 pilník(u)"? And yes, I've seen an equivalent "translation" to Russian ("этот вызов возвращает рукоятку напильника"[1]). For real. Granted, they tend to recognize that one these days, but if I ever get too optimistic about i18n... hopes, all I need to do is to run with LANG=ru_RU.UTF8 for an hour or so and those delusions will go away. _Very_ often the best strategy of figuring out WTF does a completely inane message mean is to try and guess what English sentence could've been mistranslated that way. And that's relatively benign case - much worse is when message *does* make sense, but has critically different meaning. I don't know about .cz translation quality, but .ru translations tend to be atrocious. And even when they are not wrong... they are clumsy - wrong word order, unnatural syntax in general, unidiomatic constructs all over the place... BTW, slavic is not the worst in that respect - there the wrong word order will usually just fuck the flow, but for something with *fixed* word order you'll get worse than distraction for readers. Sure, you can use the things like %2$s in translated formats, but seeing how brittle and rife with limitations that is... maintaining such translations is going to be paiful as hell. [1] amusingly enough, it _is_ a cognate of "file" - just the wrong omonym used. Not that cognate of the right omonym would've been any better ("žíla" for Lat. "filum", which gave Eng. "file" by way of 'sheaf of documents strung together')