Library
Module
Module type
Parameter
Class
Class type
Low level interface to gettext C library.
val setlocale : lc -> string -> string option
Set the current localization for the category
Look up MSGID in the current default message catalog for the current * LC_MESSAGES locale. If not found, returns MSGID itself (the default text).
Look up MSGID in the DOMAINNAME message catalog for the current LC_MESSAGES * locale.
val dcgettext : string -> string -> lc -> string
Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY * locale.
Similar to `gettext' but select the plural form corresponding to the number * N.
Similar to `dgettext' but select the plural form corresponding to the number * N.
val dcngettext : string -> string -> string -> int -> lc -> string
Similar to `dcgettext' but select the plural form corresponding to the * number N.
Set the current default message catalog to DOMAINNAME.If DOMAINNAME is "", * reset to the default of "messages".
Specify that the DOMAINNAME message catalog will be foundin DIRNAME rather * than in the system locale data base.