package gettext

  1. Overview
  2. Docs
Internationalization library (i18n)

Install

Dune Dependency

Authors

Maintainers

Sources

gettext-v0.4.2.tbz
sha256=8b672c7c521b8ac753c6a90925243cdd367dd5202e7c1e5d1a2507b11ad5d6a7
sha512=72bad53ce15ccc5113e4cfdc76b56c633926bb3702623964e006a99d21a758e7d47f0b9b67bebffe8b9a0c5f4d018cb7d4ae665568dfab52070ed355d5f9d31b

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.