Internationalization and localization support for OCaml
- OCaml 95.8%
- Makefile 3.1%
- Dune 0.7%
- Standard ML 0.4%
| .github/workflows | ||
| lib | ||
| test | ||
| .gitignore | ||
| .ocamlformat | ||
| CHANGES.md | ||
| CONTRIBUTING.md | ||
| dune | ||
| dune-project | ||
| gettext.opam | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
Gettext
Internationalization and localization support for OCaml.
The implementation is largely based on ocaml-gettext, but the high-level API differs and aims at being more user-friendly and more flexible than the original one.
- Generate translation maps from
pofiles directly, no need to compile them. - Generate translation maps from directories or (crunched)[https://github.com/mirage/ocaml-crunch] modules.
Installation
Using Opam
opam install gettext
Using Esy
esy add @opam/gettext
Contributing
Take a look at our Contributing Guide.