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.base/GettextFormat/index.html

Module GettextFormatSource

Check string equivalence regarding printf use.

  • author Sylvain Le Gall
Sourceval check_format : GettextTypes.failsafe -> GettextTypes.translation -> GettextTypes.translation

check_format failsafe translation Returns a translation structure if all the string contained in the translation are equivalent of str_id, regarding printf format. If not, replace each string which conflict by str_id, in the result.

OCaml

Innovation. Community. Security.