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 97BFB7FA83 for ; Tue, 11 Apr 2017 02:38:55 +0200 (CEST) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=taostein@gmail.com; spf=Pass smtp.mailfrom=taostein@gmail.com; spf=None smtp.helo=postmaster@mail-qk0-f174.google.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of taostein@gmail.com) identity=pra; client-ip=209.85.220.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="taostein@gmail.com"; x-sender="taostein@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of taostein@gmail.com designates 209.85.220.174 as permitted sender) identity=mailfrom; client-ip=209.85.220.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="taostein@gmail.com"; x-sender="taostein@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-qk0-f174.google.com) identity=helo; client-ip=209.85.220.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="taostein@gmail.com"; x-sender="postmaster@mail-qk0-f174.google.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3Aoy/zkhU2SdAhkReI9KQJ+szHUo/V8LGtZVwlr6E/?= =?us-ascii?q?grcLSJyIuqrYbBeDt8tkgFKBZ4jH8fUM07OQ6PG8HzRYqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjSwbLd9IRmssQndqtQdjJd/JKo21hbHuGZDdf?= =?us-ascii?q?5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXM?= =?us-ascii?q?TRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KpwVhTmlD?= =?us-ascii?q?kIOCI48GHPi8x/kqRboA66pxdix4LYeZyZOOZicq/Ye94VQndPXttKVyxZHIyz?= =?us-ascii?q?c5cPAeQGPeZdtYb9pl0Opga6CQSjAO7jzzlFjWL006InyeQsCQPJ3AIgEdwAs3?= =?us-ascii?q?rascv7O7sJXO+v0KXF1y/OY+9K1Tr/7oXDbxAvoeuLXbJ1acff11MgFwTYhVuN?= =?us-ascii?q?tYzqITKV1uIQuGWc8+pvT+Wvi3U7qw5vozivwNwhiobMho0Py1DE8T91z5oyJd?= =?us-ascii?q?29UUN2Z8OvHpVXtyGfLYR2Q8UiTnlpuCY80L0GuIS0cDIEyJQ93xLea+aIc4iP?= =?us-ascii?q?4hLkTuqePTB4hHdjdbmihBiy6VCtxvPgWsSwylpHrSpInsPSunwTyxDf8NWLR/?= =?us-ascii?q?ly80qnxD2BzRrc6vteLkAxjafbK4Auwro3lpcLtETMBC72mEHvgK+PdUUo5vGk?= =?us-ascii?q?6+r6brjkqZKQLYB0igb5MqQhnsywH/40PRQJX2ie4ei81bvj8lPlQLhSkPE6jq?= =?us-ascii?q?3UvIrZKMkbvKK1HRFZ3po55xqiDTqr38wUnXwdI1JEfBKHgZLpO1bLIP3gEfew?= =?us-ascii?q?mVOskCx3x//YP73hBI7ALnfGkLj7fLZ971RQxxY0zdBa/55UEK0OIOrvWk/ts9?= =?us-ascii?q?zVFgM2PBaxw+bjEdl90oIeWXmTAqKCK6PTsVqI5vo1LOWWZY8Vviz9K/k/6PL0?= =?us-ascii?q?g385gwxVQa78/ZYRZGq5HbxMJEKcKS7sj9ENC2YJlhY5VOvrzkWFVicVbHG3Cf?= =?us-ascii?q?ES/DY+Xb6vCs/4Wo2shvTVwC68BYFbZ2ZuBVWFEHOufIKBDaRfIBmOK9Nsx2RX?= =?us-ascii?q?HYOqTJUsgFTz7QI=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BsAACQJOxYhq7cVdFcGwEBAQMBAQEJA?= =?us-ascii?q?QEBFwEBBAEBCgEBgkOBRoELB4NfihORSYI6hk6MT4IPLIV4AoNhBz8YAQEBAQE?= =?us-ascii?q?BAQEBAQESAQEBCAsLCCgvgjMigkABAQEBAgEjHQEbEgsBAwELBgMCCw0NHQICI?= =?us-ascii?q?gERAQUBChIGExKJZAEDDQgOiz+RGj+MBIIEBQEcgwkFg1kKGScDClWCbwEBAQE?= =?us-ascii?q?BAQQBAQEBAQEBARgCBhKGPoRwhQOCWYJfBYdJDIkVjBGHAItZgX9Vjm2IY4lVF?= =?us-ascii?q?B+BFQ8QgT07IBVBGIQKKh+BfDM1iV8BAQE?= X-IPAS-Result: =?us-ascii?q?A0BsAACQJOxYhq7cVdFcGwEBAQMBAQEJAQEBFwEBBAEBCgE?= =?us-ascii?q?BgkOBRoELB4NfihORSYI6hk6MT4IPLIV4AoNhBz8YAQEBAQEBAQEBAQESAQEBC?= =?us-ascii?q?AsLCCgvgjMigkABAQEBAgEjHQEbEgsBAwELBgMCCw0NHQICIgERAQUBChIGExK?= =?us-ascii?q?JZAEDDQgOiz+RGj+MBIIEBQEcgwkFg1kKGScDClWCbwEBAQEBAQQBAQEBAQEBA?= =?us-ascii?q?RgCBhKGPoRwhQOCWYJfBYdJDIkVjBGHAItZgX9Vjm2IY4lVFB+BFQ8QgT07IBV?= =?us-ascii?q?BGIQKKh+BfDM1iV8BAQE?= X-IronPort-AV: E=Sophos;i="5.37,184,1488841200"; d="scan'208,217";a="220008326" Received: from mail-qk0-f174.google.com ([209.85.220.174]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 11 Apr 2017 02:38:54 +0200 Received: by mail-qk0-f174.google.com with SMTP id f133so110520129qke.2 for ; Mon, 10 Apr 2017 17:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lz72P2A7ofRwAqOBkK3Vd+d658P7JRRmmS0BBNA2XfM=; b=kB+Um+ajoMi+BPwr9KjpgR2DIpOj2ehcNa6O0rimk1C2Y/DfrKcc7gr92Cjq8Q69w8 flUKOTx+YmE5m/H35wd07HjPOzoJ15b6E6CsvH8W/GeoVnhJTuECKURGBpoRbHB/SaKg /UyDVteNvnv6xcOxGlyAolPpIquS0TFkynzERj0l5/sM4gi3N4e/0YCJiBV+qYcpEP8/ qEnlZ8rl2KPtZn7JzDm+X7jUCSaeHFCoaS15LpdRv9ev7wpKpUU7tiMezLx99zyZCg+W t8LuO4Sb1jAqZ4FJSM2TqxgC8w+00xB4snsxy6S3TlfCbj3KHki8psIwYDrSNaOpYRDQ yCnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lz72P2A7ofRwAqOBkK3Vd+d658P7JRRmmS0BBNA2XfM=; b=sR8tOVnFZMFl7LRKggDpgEYfndzgx7HB3R5CITll+BzXh3S+82bp0NqCXKui15SbCs rFNc8xWq0FO+muBTWIsPiRz6r1LeDkoCotjdZxxk9qMMaxgo9WYmEfs//p8wKDljvYsb bDfFn6E3XBWtm3hkhqIYC0QGpq/uTxQMzfygiHZrzWyGJMRE/jsPVz7nAVdEQRNRnO5S lj2oHMCYaWu5ZKmUjxNWH9PGyNluTzOahd5Ljx+mr00uEIyIlF5aXFnQJrDkQzkcovyu DRiqM5bP1G3mRoVoeP67Q9HLYF4cp2WM/8/Sw5I4D6ifhIVOW7pJbEubmSduaSVEKC51 kuig== X-Gm-Message-State: AN3rC/5GfllJfS79r1Zw+SSxjlVuT9KJaq4o6jaauOuARMj2rqAEPz7+P25g14Ajz7biGTKG7Hs1D0AkDx8Pag== X-Received: by 10.55.39.138 with SMTP id n132mr11732536qkn.25.1491871133308; Mon, 10 Apr 2017 17:38:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.150.178 with HTTP; Mon, 10 Apr 2017 17:38:52 -0700 (PDT) In-Reply-To: <16834917-f881-23e1-278d-f01772731a29@fit.vut.cz> References: <1715c9d9-04d7-3368-bfbd-3af8aae4698b@inria.fr> <20170408165106.55n6zfwd3tsdxxgw@pema> <8261755f-fb74-c363-a764-08623c06ce3a@inria.fr> <20170409195059.GA3385@notk.org> <20170410060741.10271.10E692AB@matica.foolinux.mooo.com> <20170410180714.GA6391@notk.org> <20170410194544.GB28504@topoi.pooq.com> <16834917-f881-23e1-278d-f01772731a29@fit.vut.cz> From: Tao Stein Date: Tue, 11 Apr 2017 08:38:52 +0800 Message-ID: To: Hendrik Boom Cc: OCaml Mailing List Content-Type: multipart/alternative; boundary=94eb2c0958e8f3a960054cd95034 Subject: Re: [Caml-list] error messages in multiple languages ? --94eb2c0958e8f3a960054cd95034 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10.4.2017 21:45, Hendrik Boom wrote: > It is also worth pointing out that gettext's update-po task gives > statistics about the translations: number of translated strings, number > of untranslated strings, number of "fuzzy" translations Does GNU gettext have an xgettext OCaml back-end to do this extraction and automation? ... I poked around in the source and the man page and didn't find one. (Most of the OCaml compiler being written in OCaml as opposed to C) Tao Stein / =E7=9F=B3=E6=B6=9B / =D8=AA=D8=A7=D9=88 =D8=B4=D8=AA=D8=A7=D9= =8A=D9=86 On 11 April 2017 at 03:49, Du=C5=A1an Kol=C3=A1=C5=99 wr= ote: > > > On 10.4.2017 21:45, Hendrik Boom wrote: > >> On Mon, Apr 10, 2017 at 08:07:14PM +0200, Adrien Nader wrote: >> >>> Just think about the fact that some languages such as Polish have >>> several plurals (*) yet can be understood a bit by French speakers. >>> >> ... >> ... >> >>> (*) hopefully I didn't get that one wrong :P >>> >> Don't know about Polish, but there are languages that disttinguish >> singular (one thing), dual (two things) and plural (many things). >> >> -- hendrik >> >> And even worse :-) > In Czech, we distinguish one thing (singular), 2-4 things, and 5 and more > things... > > Du=C5=A1an > > > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > --94eb2c0958e8f3a960054cd95034 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
<= br>
On= 10.4.2017 21:45, Hendrik Boom wrote:
It is also wo= rth pointing out that gettext's update-po task gives
statistics about the translations: number of trans= lated strings, number
of untrans= lated strings, number of "fuzzy" translations
=

Does GNU gettext have an xgettext OCaml back-end to do = this extraction and automation? ...
I poked around in the source = and the man page and didn't find one. (Most of the OCaml compiler being= written in OCaml as opposed to C)

Tao Stein / =E7=9F=B3=E6=B6=9B /=C2=A0=D8=AA=D8=A7=D9=88 =D8=B4=D8=AA=D8=A7=D9=8A=D9=86

On 11 April 2017 at 03:49, Du=C5=A1an Kol=C3= =A1=C5=99 <kolar@fit.vut.cz> wrote:


On 10.4.2017 21:45, Hendrik Boom wrote:
On Mon, Apr 10, 2017 at 08:07:14PM +0200, Adrien Nader wrote:
Just think about the fact that some languages such as Polish have
several plurals (*) yet can be understood a bit by French speakers.
...
...
(*) hopefully I didn't get that one wrong :P
Don't know about Polish, but there are languages that disttinguish
singular (one thing), dual (two things) and plural (many things).

-- hendrik

And even worse :-)
In Czech, we distinguish one thing (singular), 2-4 things, and 5 and more t= hings...

Du=C5=A1an



--
Caml-list mailing list.=C2=A0 Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

--94eb2c0958e8f3a960054cd95034--