Browse thread
[Caml-list] Printf and i18n
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jérôme_Marant <jerome.marant@f...> |
| Subject: | Re: [Caml-list] Printf and i18n |
On Thu, Apr 18, 2002 at 10:27:34AM +0200, Daniel de Rauglaudre wrote: > Hi, > > On Thu, Apr 18, 2002 at 10:02:42AM +0200, Jérôme Marant wrote: > > > By the way, in order to improve the localization process, we would need > > to add the "argument reordering" feature to printf functions. > > For instance, with: > > > > printf " %2$d %1$s" "foo" 1 > > I have something like that, indeed. It is also John Prevost's remark. > For that I use the same system of lexicon, but I don't use printf, but > just print_string for this kind of phrases. So, if I understood correctly, the string parameters are nothing but strings, right? ... > Of course, in all these examples, printf does not work: you have to > apply print_string, or printf "%s" I'ld love to see the feature in printf though. Regards, -- Jérôme Marant ------------------- 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