preprocessing printf/regex strings (like ocaml)

anatoli anatoli@yahoo.com
Tue, 14 May 2002 09:56:03 -0700 (PDT)


Robert Ennals <Robert.Ennals@cl.cam.ac.uk> wrote:
> Surely that problem only arises if one insists on encoding all the relevant 
> information inside a string.

This is pretty much the only option, because translators
and programmers are different people. Translators can deal with
simple text files with one message string per line and not
much else. You can't hire a translation firm and tell them
"translate this Haskell module for me".

You can treat message strings as declarations in a specialised
language. This language can be typed, and you could theoretically
typecheck it against your Haskell program using specialised tools.
But translators need to see simple readable message strings.
-- 
anatoli t.

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com