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/GettextTranslate/Dummy/index.html

Module GettextTranslate.DummySource

Sourcetype u
Sourceval create : GettextTypes.t -> GettextTypes.filename -> (string -> string) -> u

create t filename recode : Create a translation table using filename as the mo file and recode as the encoding converter.

Sourceval translate : u -> bool -> string -> (string * int) option -> string

translate str (plural_form,number) tbl : translate the string str using tbl. It is possible that the operation modify tbl, so it is returned also. It is also possible to get the plural form of the translated string using plural_form and number.

OCaml

Innovation. Community. Security.