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 7A6C38011C for ; Sat, 8 Apr 2017 18:56:28 +0200 (CEST) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=xavier.leroy@gmail.com; spf=Pass smtp.mailfrom=xavier.leroy@gmail.com; spf=None smtp.helo=postmaster@mail-wr0-f173.google.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of xavier.leroy@gmail.com) identity=pra; client-ip=209.85.128.173; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="xavier.leroy@gmail.com"; x-sender="xavier.leroy@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of xavier.leroy@gmail.com designates 209.85.128.173 as permitted sender) identity=mailfrom; client-ip=209.85.128.173; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="xavier.leroy@gmail.com"; x-sender="xavier.leroy@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wr0-f173.google.com) identity=helo; client-ip=209.85.128.173; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="xavier.leroy@gmail.com"; x-sender="postmaster@mail-wr0-f173.google.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3AXGdaUhFCE1qJzHAXc1PDjp1GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ78o8+wAkXT6L1XgUPTWs2DsrQf2raQ6/iocFdDyK7JiGoFfp1IWk1Nou?= =?us-ascii?q?QttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZr?= =?us-ascii?q?KeTpAI7SiNm82/yv95HJbQ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ronPort-Anti-Spam-Result: =?us-ascii?q?A0DCBgAFFelYf62AVdFcGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBFQEBAQECAQEBAQgBAQEBg3kTdhKDZptWlVeME0AXAQEBAQEBAQEBAQE?= =?us-ascii?q?SAQEJCwsIJjGCMyCCQwEEASMPAQ0BEicDDAEFBRoCJgICNAEFARwTCAEBiXMDD?= =?us-ascii?q?QgEnVk/jASCJoMJBYNxJw2DVwIGCQEIeYVFggWCa4UigjqCXwWce2uRboFniG0?= =?us-ascii?q?Qhl2SODOBFSECgTklFiRSgwKBSoIQc4ktAQEB?= X-IPAS-Result: =?us-ascii?q?A0DCBgAFFelYf62AVdFcGgEBAQECAQEBAQgBAQEBFQEBAQE?= =?us-ascii?q?CAQEBAQgBAQEBg3kTdhKDZptWlVeME0AXAQEBAQEBAQEBAQESAQEJCwsIJjGCM?= =?us-ascii?q?yCCQwEEASMPAQ0BEicDDAEFBRoCJgICNAEFARwTCAEBiXMDDQgEnVk/jASCJoM?= =?us-ascii?q?JBYNxJw2DVwIGCQEIeYVFggWCa4UigjqCXwWce2uRboFniG0Qhl2SODOBFSECg?= =?us-ascii?q?TklFiRSgwKBSoIQc4ktAQEB?= X-IronPort-AV: E=Sophos;i="5.37,173,1488841200"; d="scan'208";a="219818311" Received: from mail-wr0-f173.google.com ([209.85.128.173]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 08 Apr 2017 18:56:27 +0200 Received: by mail-wr0-f173.google.com with SMTP id t20so125763632wra.1 for ; Sat, 08 Apr 2017 09:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=oRQ0ESqp0gLA6S0NMVfLMDV3o5j1s+VB74o17emC404=; b=M5G4zEEKGzhvmlvseTgjBINnu0QJAKqVBQOLoxhb13uxW0hZp+GjmQXpYqViDMXb76 rOdGk5mMA03UlAWm8CLkwoipEbZR4IeXNBrESCOHLLLSr493vomPTndfsf0XuyzskpcW c0yUZAtfKuJi8AIuPJk6TpKldHb6BFeLBW/8KgycW664khdcfJ4pF+UBycO5ow7cxwIs mOHT9kJRTtOORwkBTy5hUVVc4wRwubh36SJvqBp2Mesticale5GMBvXoqK437f+Pesqj 4G66itkBj19MTCKma1JiC0CSbqIB7IaTBtOttJ5GUcHYlcRvgCq25dWz094kko4mCrwo ZOLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=oRQ0ESqp0gLA6S0NMVfLMDV3o5j1s+VB74o17emC404=; b=mYAUwLf/3fTLryUGpCVDjdzkKVeyM7osZTUGK66Rsn66F3MaD77oUzcNjxumIbhcrR LNRn+ka/rcdSIjvrWc5AwoqIYlTPxqYe5KwxC9Wi3nuZGc3OLouUl6nxryQDCxPimSCS RWhGwnWIJN7Ts13Y3duLIRq5+vzW+YPPUGmbhi2fXQcNBcg2vSRXTRbSzo1Vmm1n91sE JqqKdcDc4lSDR4YXRUl3o0Y9GzZC/RyUtTT9HSYQ4omvJ0ebyc/gcAN92X41MGI1OSUT He0RvFm9MhA1QHiMQ5A81VYzHT3ybTRxDkkU404iddih+tMLf6Y4KEWlRPvOFJd/mbij 8gyA== X-Gm-Message-State: AFeK/H0DrjjeInmwVZ7VhkMWDpMKdlofKjd1UrkKjMR9zzv5e+GiQ1icFAoOqHQNTZm5Rw== X-Received: by 10.223.128.99 with SMTP id 90mr41374262wrk.101.1491670587173; Sat, 08 Apr 2017 09:56:27 -0700 (PDT) Received: from [192.168.1.2] (che78-2-82-237-71-191.fbx.proxad.net. [82.237.71.191]) by smtp.gmail.com with ESMTPSA id b66sm10516931wrd.29.2017.04.08.09.56.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Apr 2017 09:56:26 -0700 (PDT) Sender: Xavier Leroy To: caml-list@inria.fr References: <1715c9d9-04d7-3368-bfbd-3af8aae4698b@inria.fr> <20170408165106.55n6zfwd3tsdxxgw@pema> From: Xavier Leroy Message-ID: <8261755f-fb74-c363-a764-08623c06ce3a@inria.fr> Date: Sat, 8 Apr 2017 18:56:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170408165106.55n6zfwd3tsdxxgw@pema> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] error messages in multiple languages ? On 04/08/2017 06:51 PM, Sébastien Hinderer wrote: >> This implementation was pretty short and sweet, if I may say so myself, and >> possibly easier to use than gettext because by construction the english >> message was always available, even if translations were missing by >> mistake. > > I am not following you here. Isn't that exactly the behaviour gettext > provides? Oops, yes, you're probably right. I was confusing gettext with the (early?) Java i18n library where every message was to be given a unique, short identifier, then be looked up in a resource file. - Xavier Leroy