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 92E147FB0A for ; Thu, 27 Nov 2014 07:20:12 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of asai@is.ocha.ac.jp) identity=pra; client-ip=133.65.64.10; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="asai@is.ocha.ac.jp"; x-sender="asai@is.ocha.ac.jp"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of asai@is.ocha.ac.jp designates 133.65.64.10 as permitted sender) identity=mailfrom; client-ip=133.65.64.10; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="asai@is.ocha.ac.jp"; x-sender="asai@is.ocha.ac.jp"; 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@web.is.ocha.ac.jp) identity=helo; client-ip=133.65.64.10; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="asai@is.ocha.ac.jp"; x-sender="postmaster@web.is.ocha.ac.jp"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As8BACTCdlSFQUAKnGdsb2JhbABb1CgWAQEBAQERAQEBAQEIFAlChAQEEyg5Czc0BSABBQFXiBUIAQWsNoMlPTGcBoYbCpEOgxiBHwWMI4QWjkcBlSFBhUWDKgEBAQ X-IPAS-Result: As8BACTCdlSFQUAKnGdsb2JhbABb1CgWAQEBAQERAQEBAQEIFAlChAQEEyg5Czc0BSABBQFXiBUIAQWsNoMlPTGcBoYbCpEOgxiBHwWMI4QWjkcBlSFBhUWDKgEBAQ X-IronPort-AV: E=Sophos;i="5.07,467,1413237600"; d="scan'208";a="90679848" Received: from web.is.ocha.ac.jp ([133.65.64.10]) by mail3-smtp-sop.national.inria.fr with ESMTP; 27 Nov 2014 07:19:26 +0100 Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by web.is.ocha.ac.jp (Postfix) with ESMTP id 5533E99680E for ; Thu, 27 Nov 2014 15:19:49 +0900 (JST) Received: by mail-pa0-f52.google.com with SMTP id eu11so4374663pac.39 for ; Wed, 26 Nov 2014 22:20:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=f1iZNIzfPdhOQ0gDPNGaTCYDxlyuEHgO+mvhhf5Olv4=; b=UqP8xdlbY+4ltuCVuIdmvWxuzMeG6rlU43chrD0rJothtTlWmHCW0hsPz8OQwo5yUM z3la9iLVg+22BmhZf3UcAqxzdeHuH9tLQ5b/k4FJ4xPOx4obXQDIbP9Cwni8/OnI+aDd zc/ZIyV3PRNvGaOWD3Ye45Qi+uEP0+YFXvV1wNps04znt8xGZQ0Ib/iwBEtScqZQLvrD Wmmh11HBBr4DI6xcJRRyNBKE52KxFUaElPVvqSU//urBIgKRBazNOYWa9+Axvn0iNvDN P/NkKz970R499ZFcCuMIeY0zFZpUsU4pxoVplqwleuC3l3zsQfvbz7LKjsAANtfu2usZ xjYA== X-Gm-Message-State: ALoCoQmahq+yQNR4T9aV5JqMTz7c4LVX5yAQ0CRDws3jya+i/GpQozm4a8R5hnxVsB7NI545NB9CkYQjkUrS2p+y3AryqK24oFeLyPPiDI0l2rMMpy4c4uYcDrEDAkF/h4l3FDoFLlgu X-Received: by 10.68.203.41 with SMTP id kn9mr59600774pbc.47.1417069206953; Wed, 26 Nov 2014 22:20:06 -0800 (PST) X-Received: by 10.68.203.41 with SMTP id kn9mr59600758pbc.47.1417069206802; Wed, 26 Nov 2014 22:20:06 -0800 (PST) Received: from localhost ([133.65.65.2]) by mx.google.com with ESMTPSA id o12sm6020501pdj.36.2014.11.26.22.20.05 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 26 Nov 2014 22:20:06 -0800 (PST) Date: Thu, 27 Nov 2014 15:20:01 +0900 From: Kenichi Asai To: caml-list@inria.fr Message-ID: <20141127062001.GA4529@pllab.is.ocha.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Subject: [Caml-list] OCamlDoc for multiple languages? Dear all, > One of my students is porting the universe teachpack of Racket into > OCaml, which enables easy game programming similarly to Racket. > I am now encouraging her to make the library public... One of the issues in making the library public is that the ocamldoc comments in mli files are written in Japanese. (This is important for my Japanese students.) What is a good way to provide ocamldoc comments in multiple languages? I can only think of having many mli files for each language, like: foo.mli.ja for Japanese foo.mli.en for English and make foo.mli as a link to one of them. But ideally, I want to keep only one mli file with multiple comments and choose one of them depending on which language's document I want to create. Thank you in advance. Sincerely, -- Kenichi Asai