Functor Gettext.Program


module Program: 
functor (Init : GettextTypes.INIT_TYPE) ->
functor (Realize : GettextTypes.REALIZE_TYPE) -> sig .. end
Module to handle typical program requirement
Parameters:
Init : GettextTypes.INIT_TYPE
Realize : GettextTypes.REALIZE_TYPE

val init : (Arg.key * Arg.spec * Arg.doc) list * string
The first element is a Arg argument list. The second element contains some information about the gettext library ( version, build date, author ).
val s_ : string -> string
Translate a singular string.
val f_ : string -> ('a, 'b, 'c, 'd) format4
Translate a Printf singular argument.
val sn_ : string -> string -> int -> string
Translate a plural string.
val fn_ : string -> string -> int -> ('a, 'b, 'c, 'd) format4
Translate a Printf plural argument.