Ocsigen-i18n
Ocsigen-i18n provides internationalisation (i18n) support for OCaml applications. Translations are described in TSV (tab-separated values) files; a code generator turns them into OCaml functions and a PPX extension provides a convenient [%i18n ...] syntax to use them.
Manual
- Introduction — overview, installation and quick start
- Code generator — the
ocsigen-i18ncommand and its options - PPX rewriter — the
[%i18n ...]syntax - Template syntax — how to write the TSV translation files
API
Ppx— the PPX rewriter library