From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA20565; Tue, 30 Apr 2002 12:33:36 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA20561 for ; Tue, 30 Apr 2002 12:33:35 +0200 (MET DST) Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.25.148.40]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3UAXXH16082 for ; Tue, 30 Apr 2002 12:33:33 +0200 (MET DST) Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id g3UAXUXt026060; Tue, 30 Apr 2002 20:33:30 +1000 (EST) Received: from ozemail.com.au (ppp16.dyn71.pacific.net.au [202.7.71.16]) by wisma.pacific.net.au with ESMTP id UAA28673; Tue, 30 Apr 2002 20:33:29 +1000 (EST) Message-ID: <3CCE72F8.1070907@ozemail.com.au> Date: Tue, 30 Apr 2002 20:33:28 +1000 From: John Max Skaller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 X-Accept-Language: en-us MIME-Version: 1.0 To: Shawn Wagner CC: caml-list@inria.fr Subject: Re: [Caml-list] localization References: <20020429094818.2ebff720.yrashk@telcos.net.ua> <20020429184654.D1213@speakeasy.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Shawn Wagner wrote: >Here's an idea for an interface to gettext: > >Use camlp4 to define a new string literal type > Yeah, that's a very good idea; you can use it to write text in your native language and worry about translations later (indeed, delegate the work, since few people know all the world's languages ..) One could even "reprocess" the original source code to replace the literals in say French with ones in say English.. so I could read the code more easily. """BTW: Python triple quoted strings are an interesting idea""" -- John Max Skaller, mailto:skaller@ozemail.com.au snail:10/1 Toxteth Rd, Glebe, NSW 2037, Australia. voice:61-2-9660-0850 ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners