package gettext
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=8b672c7c521b8ac753c6a90925243cdd367dd5202e7c1e5d1a2507b11ad5d6a7
sha512=72bad53ce15ccc5113e4cfdc76b56c633926bb3702623964e006a99d21a758e7d47f0b9b67bebffe8b9a0c5f4d018cb7d4ae665568dfab52070ed355d5f9d31b
doc/gettext.base/Gettext/index.html
Module Gettext
Source
Modules to use in libraries and programs.
This module defines all the function required to use gettext. The primary design is to use applicative function. The "side effect" of such a choice is that you must defines, before using any function, all the text domains, codeset et al. When building a library, you should give access to Library.init
(by defining a gettext_init = YouLibrary.init
). This is required to enable string translation in the library and programs that uses the library. The only function missing here is the realize
function. This function is defined in a real implementation library :
GettextDummy
GettextCamomile
GettextStub
Exception
Return the string representation of a ocaml-gettext exception.
High level interfaces
Value of the dependencies for the initialization of the library Gettext (for translating exception and help message).
Module to handle typical library requirement
Module to handle typical program requirement