Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp70106imm; Tue, 31 Jul 2018 14:01:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcex95D40lhhVAeVw1a9/OCL6Y8VFpG04mwEJFCMRqKl6EtcDHR7OZva61PPQ+OuvX551st X-Received: by 2002:a63:8648:: with SMTP id x69-v6mr21951247pgd.172.1533070911704; Tue, 31 Jul 2018 14:01:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533070911; cv=none; d=google.com; s=arc-20160816; b=FZYEw2PKBTCKOMw/4er1zrwKa4hCG9YpB/ZRey+cDC/oGLBF0FLDqa6ubPFmED26cG NmnU3ydYlsXAP2vMmSD7xUiSGjAirWvjMUxbOXXiwV9htB+h/ymcWJWzs/B0SRryWcNx 7eaynbINQQ1xT30ylg2E/s7xr417V/2tM+3SkVfwQmL3EwR0WPJP8jPOuCEbQHF/Dwmv ykhrfX8HzM4aC9LHLVmi3dZsVSPF100kB7U/Yy7irXTbdPXvB01ZqeMkLdVq8LFeKGo5 NeRsSC0MNY1vumaUlLIx77bmWijlnTxqYRjGFVMicRixdbdh/GpHOn4h3ti1OExFq/yG AUlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :arc-authentication-results; bh=hQnTl7/UYmelNmHY0rOdZvwAZjKLOG4QhbEc9LoEJ6M=; b=odTmaXL/SfQHn2JIgqTwPX7HguBW0NfWbv3B1afh4YiH09EhDfZMmA5ZA032sanpBG g8yWbmDQs5ME4Aln4ZS/35B7/RPBvxcfQeTObi24qk064BHvn9elj7wtTRp5qb9DjsDl OVruflGI+E/CQcPmcyPIT7X5X+dxdOgHRVhO5ayhQWuB36HgbKE4cMqwiP231v7a44Ju 76MXgMGq8Iyj+cCaF8x2pXlu7WJGzq/Ytk2r8qe+RKLZFutNuC1OCYaf4iqnotnK3mzS 8D5V69/yAxaj4xW9r9J9u6rlcQeoO4dXhS3NovnHYhuQ72EfYjxMvA655aWsoaSgrGht swCw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d127-v6si14900376pfa.189.2018.07.31.14.01.30; Tue, 31 Jul 2018 14:01: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731121AbeGaWm2 (ORCPT + 99 others); Tue, 31 Jul 2018 18:42:28 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:60916 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726812AbeGaWm2 (ORCPT ); Tue, 31 Jul 2018 18:42:28 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A1D9240241C0; Tue, 31 Jul 2018 21:00:17 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-116.rdu2.redhat.com [10.10.120.116]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6964620389E0; Tue, 31 Jul 2018 21:00:16 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20180731193905.GA28700@amd> References: <20180731193905.GA28700@amd> <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> To: Pavel Machek Cc: dhowells@redhat.com, Matthew Wilcox , "Theodore Y. Ts'o" , Linus Torvalds , Al Viro , linux-fsdevel , Linux Kernel Mailing List Subject: Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22671.1533070815.1@warthog.procyon.org.uk> Date: Tue, 31 Jul 2018 22:00:15 +0100 Message-ID: <22672.1533070815@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Tue, 31 Jul 2018 21:00:17 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Tue, 31 Jul 2018 21:00:17 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org How would you handle translations to languages where the word order is different, such that you have to switch the parameters round? In such cases you might be able to simply translate the format string - you may also have to rearrange the parameters. IIRC, Windows DLL translation tables get around this by having format-string tables with numbered parameter substitution markers. David