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 AB45A8011C for ; Sat, 8 Apr 2017 16:22:12 +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-f175.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.175; 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.175 as permitted sender) identity=mailfrom; client-ip=209.85.220.175; 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-f175.google.com) identity=helo; client-ip=209.85.220.175; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="taostein@gmail.com"; x-sender="postmaster@mail-qk0-f175.google.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3Ay+mO4xYm3ocH8ZvTXhzIHy7/LSx+4OfEezUN459i?= =?us-ascii?q?sYplN5qZoM+zbnLW6fgltlLVR4KTs6sC0LuK9fi4EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRp?= =?us-ascii?q?OOv1BpTSj8Oq3Oyu5pHfeQtFiT6ybL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+?= =?us-ascii?q?RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPC?= =?us-ascii?q?TQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhz?= =?us-ascii?q?sGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJVyJPDICy?= =?us-ascii?q?YZYRAeUdJutXtZXxqkEUoBeiGQWhBuXiwSJIiH/s2q061vwsHx/c0wwnAtkArW?= =?us-ascii?q?jUo8v0NKcUTOu4y7XIwi/Eb/NNxTfy9onIchY6rPGDWLJ/a8vRyU01GwzZiVWQ?= =?us-ascii?q?rJXoMjWI3eoOq2iW9/RsWf6rhmI9qAx8oiKjytkyhoXVnI4Z11LJ+CV/zY0oP9?= =?us-ascii?q?O3UlR7bsShEJZItyGVKY92QsQ6TmFtoik6y7kGtYeifCgJ1Jgr3hDfZ+GFfoWI?= =?us-ascii?q?+B7jW+GRITB3hHJhZr2znQq98U+lyuHkV8m01khFrjZdn9XSqnwA0wbf58uHR/?= =?us-ascii?q?dn4EutxyqD2xrO5uxGIU04ja/bJIQgwr40mJoTq0PDHirulUXqlqCWcV4k+vS2?= =?us-ascii?q?5OTmZLXrvZCcN4puhQH/NqQigNCwAeM9MgQWRWiU5fy81KH//U3+WLhFkuc5kq?= =?us-ascii?q?zdsJzDIcQbp7W5AxNO34Y46xe/Ci+m384CkXkGKlJFYhOHgJLzN1HAOvCrRcu4?= =?us-ascii?q?1nOHmTJvj9XPP7ngBJqFCnnYjP+1dr947wtYyREv5dFZ/ZNdTL8bdqHdQEj04e?= =?us-ascii?q?DRCVcCLwG1xa6zFNx6zZ8TWGSnDaqQMaeUuliNsLF8a9KQbZMY7W6uY8Mu4OTj?= =?us-ascii?q?2DpgwQcQ?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DtEgC68OhYhq/cVdFdHgYMGQYMhRQHg?= =?us-ascii?q?1+kXoxQgg4OiW8HSA8BAQEBAQEBAQEBARIBAQEICwsIKC+CMyIBgjYzHQEbHgM?= =?us-ascii?q?SAwUBBzcCJAERAQUBIooJAQMVjRWNVYNFP4wEggQFARyDCQWDUQoZJw1VgwICB?= =?us-ascii?q?hKGPoRAgi6FXoJfBZBqjBGSWZFBkjgUH4EVSAGBEzsgFVmENB+BfDM1iS0BAQE?= X-IPAS-Result: =?us-ascii?q?A0DtEgC68OhYhq/cVdFdHgYMGQYMhRQHg1+kXoxQgg4OiW8?= =?us-ascii?q?HSA8BAQEBAQEBAQEBARIBAQEICwsIKC+CMyIBgjYzHQEbHgMSAwUBBzcCJAERA?= =?us-ascii?q?QUBIooJAQMVjRWNVYNFP4wEggQFARyDCQWDUQoZJw1VgwICBhKGPoRAgi6FXoJ?= =?us-ascii?q?fBZBqjBGSWZFBkjgUH4EVSAGBEzsgFVmENB+BfDM1iS0BAQE?= X-IronPort-AV: E=Sophos;i="5.37,172,1488841200"; d="scan'208,217";a="219812170" Received: from mail-qk0-f175.google.com ([209.85.220.175]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 08 Apr 2017 16:22:11 +0200 Received: by mail-qk0-f175.google.com with SMTP id f133so64887952qke.2 for ; Sat, 08 Apr 2017 07:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Brye0HMpXFTMU7MNCGguBbJuBevhD6iXDe0mgXkPeGs=; b=SePLg79m3jfnJmuHuuuQEZ1BfAaNm50e2VgN0PVdV5Nw+naMK5vnvRVVv3d1bT1vRB dh5Pi35aikVeCEfoaeywgT0q5fG+6k4rzwIs40Pasawf60QEKeqW8mX/mIChZgQl37qu IlwDBFV7Ff1Xl3DbSKHPsoHJWM2Q6ialH+d8olPNqrhBmphtp2dYRD2bqCHm0QIF0Ud3 DDyufiMfG6W5A3e0svivGK84LMpq+pQz4PnnKGgMxDJ7WAsiw0HeP43ZhyENWpw2M9ps GpFejUaRcATyYVnf15Z2dEW461Y3zSCeiuyoi5y/tweBi7RhMRVaHmbUPQk5O5rMjbOS D3ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Brye0HMpXFTMU7MNCGguBbJuBevhD6iXDe0mgXkPeGs=; b=Z7g+s4MPpEOShGNR5mIuTGC5OF8J/xrjvJtRQbdAl/LeTpLDS/O2897tIDqvf/XSah Xt7e3sl3cE/BHu3GdCieHldRVxIP8SkxWWzbn0I8oo1Gt80bZyWVYQ33o4hBJK2bR3iB t6EqrehH/xAnrU/AHB856/UN22ltpELrgtE/FkC7bfu+92Fx3Nju+60q36nnMmkf27LK 6KJdG+pQqPMPHPY6qf0XXwYxwAlZw0M2yByv7ILlXflc6tfECUO+uNNH0eHnnAGf0Fpv iPvaLg1REdRKtR/pDVdSBjG0x1x3CXrmpCB4wnnY0R7UEOdNQtgJZDtUTIX6pE8cd6f9 pqXA== X-Gm-Message-State: AN3rC/5LQaJh7XaxtDoNAiRe9YaoAqeCaj+soTQR5ou+azpBYumjuAfbnlXYD23StBQJGWRugeGRs4dRIlAXkw== X-Received: by 10.55.39.138 with SMTP id n132mr2182813qkn.25.1491661329973; Sat, 08 Apr 2017 07:22:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.150.178 with HTTP; Sat, 8 Apr 2017 07:22:09 -0700 (PDT) From: Tao Stein Date: Sat, 8 Apr 2017 22:22:09 +0800 Message-ID: To: OCaml Mailing List Content-Type: multipart/alternative; boundary=94eb2c0958e8b2c589054ca87705 Subject: [Caml-list] error messages in multiple languages ? --94eb2c0958e8b2c589054ca87705 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've been teaching OCaml to university students in Beijing. I believe they'd feel more comfortable if the error messages were in Chinese. Has anyone thought of implementing multi-language strings in the compiler? So, say with the setting of an environment variable, the compiler user could receive errors and warnings in their preferred language. I know it would require a lot of translation work (crowd sourced?), but the internal language abstraction mechanism would need to be there too. Tao Stein / =E7=9F=B3=E6=B6=9B / =D8=AA=D8=A7=D9=88 =D8=B4=D8=AA=D8=A7=D9= =8A=D9=86 --94eb2c0958e8b2c589054ca87705 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I've been teaching OCaml to univer= sity students in Beijing. I believe they'd feel more comfortable if the= error messages were in Chinese. Has anyone thought of implementing multi-l= anguage strings in the compiler? So, say with the setting of an environment= variable, the compiler user could receive errors and warnings in their pre= ferred language. I know it would require a lot of translation work (crowd s= ourced?), but the internal language abstraction mechanism would need to be = there too.

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

--94eb2c0958e8b2c589054ca87705--