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 C7D827FA83 for ; Sun, 9 Apr 2017 21:51:01 +0200 (CEST) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=adrien@notk.org; spf=Pass smtp.mailfrom=adrien@notk.org; spf=None smtp.helo=postmaster@nautica.notk.org Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of adrien@notk.org) identity=pra; client-ip=91.121.71.147; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="adrien@notk.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of adrien@notk.org designates 91.121.71.147 as permitted sender) identity=mailfrom; client-ip=91.121.71.147; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="adrien@notk.org"; 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@nautica.notk.org) identity=helo; client-ip=91.121.71.147; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="postmaster@nautica.notk.org"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3AlRCDnhFyUkT8vJRNZuotS51GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ7zpcywAkXT6L1XgUPTWs2DsrQf2raQ6/iocFdDyK7JiGoFfp1IWk1Nou?= =?us-ascii?q?QttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZr?= =?us-ascii?q?KeTpAI7SiNm82/yv95HJbQhFgDWwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+?= =?us-ascii?q?NYxWNpIVKcg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RHq5UMC8=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BGAQDrj+pY/5NHeVtdGwEBAQMBAQEJA?= =?us-ascii?q?QEBFwEBBAEBCgEBgyhhgQuDGIphkUCVV4IPLIV4AoNePxgBAQEBAQEBAQEBAWo?= =?us-ascii?q?ogjMiAYJAAQUjDwFGEAsYAgIFEw4CAg8FGDGKJgqoFIImilwBAQEBBgEBAQEkg?= =?us-ascii?q?QuFRYRwh1wugjEFnHuHAItMDWqQV5QAHziBBSUWCCUIQYZcPjUBAQGJBQEBAQ?= X-IPAS-Result: =?us-ascii?q?A0BGAQDrj+pY/5NHeVtdGwEBAQMBAQEJAQEBFwEBBAEBCgE?= =?us-ascii?q?BgyhhgQuDGIphkUCVV4IPLIV4AoNePxgBAQEBAQEBAQEBAWoogjMiAYJAAQUjD?= =?us-ascii?q?wFGEAsYAgIFEw4CAg8FGDGKJgqoFIImilwBAQEBBgEBAQEkgQuFRYRwh1wugjE?= =?us-ascii?q?FnHuHAItMDWqQV5QAHziBBSUWCCUIQYZcPjUBAQGJBQEBAQ?= X-IronPort-AV: E=Sophos;i="5.37,179,1488841200"; d="scan'208";a="219876463" Received: from nautica.notk.org ([91.121.71.147]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Apr 2017 21:51:00 +0200 Received: by nautica.notk.org (Postfix, from userid 1003) id DB1B8C01B; Sun, 9 Apr 2017 21:50:59 +0200 (CEST) Date: Sun, 9 Apr 2017 21:50:59 +0200 From: Adrien Nader To: Xavier Leroy Cc: caml-list@inria.fr Message-ID: <20170409195059.GA3385@notk.org> References: <1715c9d9-04d7-3368-bfbd-3af8aae4698b@inria.fr> <20170408165106.55n6zfwd3tsdxxgw@pema> <8261755f-fb74-c363-a764-08623c06ce3a@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8261755f-fb74-c363-a764-08623c06ce3a@inria.fr> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [Caml-list] error messages in multiple languages ? On Sat, Apr 08, 2017, Xavier Leroy wrote: > 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. As far as I know this is also similar to catgets(3) which is the i18n facility standardized in POSIX. The gettext documentation gives an overview of it: http://gnu.huihoo.org/gettext-0.10.35/html_chapter/gettext_8.html Unsurprisingly, pretty much everyone uses gettext rather than catgets. Personally I've enjoyed using gettext and I've found that it provided the features needed for a proper translation in a pretty good way. I know that several large projects do translation updates during feature freezes and bug fix periods (i.e. during release candidates). There are also some (web) platforms to open the translation process to more people (LibreOffice, XFCE and many others use transifex). -- Adrien Nader