From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 6D8608011C for ; Sat, 8 Apr 2017 17:03:29 +0200 (CEST) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=Sebastien.Hinderer@inria.fr; spf=None smtp.mailfrom=SRS0=AnxI=3Q=inria.fr=Sebastien.Hinderer@bounce.ens-lyon.org; spf=Pass smtp.helo=postmaster@sonata.ens-lyon.org Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of Sebastien.Hinderer@inria.fr) identity=pra; client-ip=140.77.166.138; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="SRS0=AnxI=3Q=inria.fr=Sebastien.Hinderer@bounce.ens-lyon.org"; x-sender="Sebastien.Hinderer@inria.fr"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of SRS0=AnxI=3Q=inria.fr=Sebastien.Hinderer@bounce.ens-lyon.org) identity=mailfrom; client-ip=140.77.166.138; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="SRS0=AnxI=3Q=inria.fr=Sebastien.Hinderer@bounce.ens-lyon.org"; x-sender="SRS0=AnxI=3Q=inria.fr=Sebastien.Hinderer@bounce.ens-lyon.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of postmaster@sonata.ens-lyon.org designates 140.77.166.138 as permitted sender) identity=helo; client-ip=140.77.166.138; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="SRS0=AnxI=3Q=inria.fr=Sebastien.Hinderer@bounce.ens-lyon.org"; x-sender="postmaster@sonata.ens-lyon.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" IronPort-PHdr: =?us-ascii?q?9a23=3AtYPwuh+zbziLf/9uRHKM819IXTAuvvDOBiVQ1KB2?= =?us-ascii?q?0OMcTK2v8tzYMVDF4r011RmSDNmds6oMotGVmpioYXYH75eFvSJKW713fDhBt/?= =?us-ascii?q?8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1?= =?us-ascii?q?Ifn+FpLPg8it2e2//5Lebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+?= =?us-ascii?q?RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTF?= =?us-ascii?q?UACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRhHohi?= =?us-ascii?q?kZKjA382/XhcNsg61GrxyupQdyw5LXbYyPKPZyYr/RcNEcSGFcXshRTStBAoak?= =?us-ascii?q?YoUSFe0OJvxXr5Lhp1sPsxS+AxSnCuHuyj9Om3D5w7c63Po7EQrb2wEuAswBv2?= =?us-ascii?q?/Oo9XuKKcSUP66zK/SwTvBbvNW3yry55bSch8/u/GBRrNwcczLyUkuDQzJlFuQ?= =?us-ascii?q?qZb8Mj6Ty+8DvW+b7+96WuKujW4qswBxoj61xsctkIbFnIwVykrC+C5kw4g1Pc?= =?us-ascii?q?W1RFN0bNK4CpddtSOXO5FrTs4jQmxkojs2x7MFtJKjeCUG1I4rywDQZvCdboSF?= =?us-ascii?q?4A7vWPySLDp7gn9uZaixiAyo8Ue6z+3xTsm030hOripCitTMrXcN1xrJ5cibUP?= =?us-ascii?q?Rx5Fmu2TCU1wzK7uFFIUc0lazBJ54m2L4wmYIfsUXFHiDohEX7lLKae0o49uSy?= =?us-ascii?q?6enqYK/qqoKdOoJ1kA3yL6ojl8+nDeQ9KAcOXmyb+eqm1L3k+E30WKhEgOErnK?= =?us-ascii?q?XFqJ3XOcIbp6G6DQJN3Ist8A6yDzag0NQCnHkINkhJeBydj4XxJl/BPuv3Au2k?= =?us-ascii?q?g1SwkTdk2fbGMqfjDJXMKHjMjanufaxj5E5G0wc81tdf549SCr4dPv3/QFH+tN?= =?us-ascii?q?rDDhMgNwy1w+HnCNNn2oMZQ2KPDbeVMLnOvl+Q+uIvP+6MaZcOuDb9Kvgl4ePh?= =?us-ascii?q?gmEjmVADZqSo3JoXaHWjEfR8OUqVe3vsgtEbEWcLpAUyVuLqiEeaWz5Je3myR7?= =?us-ascii?q?485i08CI++EYjMXIWtgLiY0Ce/H51WfXxGB0uXEXbocoWEQ+0DZDiTIs9niDwE?= =?us-ascii?q?VKKuR5Uv1RG050fGzO9sJ+/QvykZro7L1d5v5uSVmwth2yZzCpGmUmuEVH11k2?= =?us-ascii?q?VAZz4w0K1lrFY1nmyO26Fjn/1VE5pz5vVFXx03L7bdyfZ7Apb8QFSSLZ+yVF+6?= =?us-ascii?q?T4D+UnkKRdUrzopWbg=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BlAQBb++hYl4qmTYxdHgYMGQYMg3kQe?= =?us-ascii?q?RKDZosGnTGLMYlYQhUBAQEBAQEBAQEBARIBAQEBAQgWBleCMyCCQwYjDwFWCxo?= =?us-ascii?q?CBRMOAgIPLRuKKAQKqmSCJoN7hxQFgQuKNYQdgQWCOoJfBZx7a4YVi0yRTpN+A?= =?us-ascii?q?jVgRzskUoQLDIJFcwGJLAEBAQ?= X-IPAS-Result: =?us-ascii?q?A0BlAQBb++hYl4qmTYxdHgYMGQYMg3kQeRKDZosGnTGLMYl?= =?us-ascii?q?YQhUBAQEBAQEBAQEBARIBAQEBAQgWBleCMyCCQwYjDwFWCxoCBRMOAgIPLRuKK?= =?us-ascii?q?AQKqmSCJoN7hxQFgQuKNYQdgQWCOoJfBZx7a4YVi0yRTpN+AjVgRzskUoQLDIJ?= =?us-ascii?q?FcwGJLAEBAQ?= X-IronPort-AV: E=Sophos;i="5.37,172,1488841200"; d="scan'208";a="219813648" Received: from sonata.ens-lyon.org ([140.77.166.138]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Apr 2017 17:03:28 +0200 Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id EF946200D3; Sat, 8 Apr 2017 17:03:27 +0200 (CEST) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i6a1G_NUgQYx; Sat, 8 Apr 2017 17:03:27 +0200 (CEST) Received: from pema.homeunix.org (AMontsouris-551-1-51-88.w90-24.abo.wanadoo.fr [90.24.170.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id CE1F7200D0; Sat, 8 Apr 2017 17:03:27 +0200 (CEST) Received: from seb by pema.homeunix.org with local (Exim 4.88) (envelope-from ) id 1cwrtf-0007Kn-5l; Sat, 08 Apr 2017 17:03:27 +0200 Date: Sat, 8 Apr 2017 17:03:27 +0200 From: =?utf-8?Q?S=C3=A9bastien?= Hinderer To: caml-list@inria.fr Message-ID: <20170408150327.4ejjjqgyomlgqhzm@pema> Mail-Followup-To: caml-list@inria.fr References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [Caml-list] error messages in multiple languages ? Hi, Gabriel Scherer (2017/04/08 10:43 -0400): > Hi, > > This is an interesting question and the issue was discussed in 2012 on the > list: > > https://sympa.inria.fr/sympa/arc/caml-list/2012-11/msg00100.html > > Currently there is no mechanism in the compiler codebase to have > multi-language strings in the compiler. Alexis Irland proposed a patch in > the above thread ( https://sympa.inria.fr/sympa/arc/caml-list/2012-11/ > msg00152.html ) that certainly enabled some kind of parametrization, but > unfortunately the patch files (which were hosted on a personal dropbox) > seem lost today. (What I have at hand is a French translation of the > compiler messages made by Jacques-Henri Jourdan, but without a > parametrization mechanism.) > > I think that this is an interesting idea and I would personally be willing > to support a well-engineered patch providing the feature I like the idea, too. > (the question of > whether the internationalized messages should be hardcoded in a source file > or use a sort of gettext-like mechanism is delicate), Why is it delicate? Why not use gettext itself? Sébastien.