package gettext

  1. Overview
  2. Docs
Internationalization library (i18n)

Install

Dune Dependency

Authors

Maintainers

Sources

gettext-0.5.0.tbz
sha256=08dd9df55b2af1838e2312be4be942b4375dbc18c2aed0ca1924488750e34f5d
sha512=4a09eab6d6f0d6ec435ca3d70305e2f97cbcc04bea72f85efcf649a0ead2faa322a0b054eb953b719f6dea98fb08de32fc80b4cf967681465c5a51e335aaf8d4

doc/gettext.extension/GettextLocale/index.html

Module GettextLocaleSource

Implements different operation over locale/category.

  • author Sylvain Le Gall
Sourcemodule type LOCALE_TYPE = sig ... end
Sourceval 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.