Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] localization
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: John Max Skaller <skaller@o...>
Subject: Re: [Caml-list] localization
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