package gettext

  1. Overview
  2. Docs
Internationalization library (i18n)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

gettext-v0.4.1.tbz
sha256=a80408ff891ed22b5be7e8a5331f4b31e7b50dea482bff56abe73457aa379e5f
sha512=574530a0c0822b7e1d5772f1c58db92bb52c742432666deb1cc2291fbe603250fa61263df033eb88769c8d7e8bcbbd728c91379d0a5377cfe6026d83a9222fb8

doc/gettext.extension/GettextLocale/index.html

Module GettextLocale

Implements different operation over locale/category.

  • author Sylvain Le Gall
module type LOCALE_TYPE = sig ... end
val posix_getenv : GettextTypes.t -> GettextCategory.category -> GettextTypes.locale

Return the best value of environnement variable, that can be found according to the priority defined in gettext. The choice take into account t and category, but may ignore it, if a variable with a best priority is set. This function can be used to get a value for a LOCALE_TYPE implementation. Raise Not_found if nothing appropriate.

OCaml

Innovation. Community. Security.