OCAML-XGETTEXT(1)
π OCAML-XGETTEXT β bestie, let me put you on β¨
okay so this is the OCAML-XGETTEXT(1) manual page, and ngl it's a short one, but it's still iconic in its own little way π
πΈ NAME πΈ
ocaml-xgettext β the lil program that goes and extracts all your translatable strings out of an OCaml source file π§
π¦ SYNOPSIS π¦
ocaml-xgettext [ppx arguments] [filename]
π DESCRIPTION π
This manual page is here to briefly document ocaml-xgettext. Lowkey humble of it, but okay π
So like, ocaml-xgettext is a ppx filter. What it spits out is an OCaml marshalled data structure β and no cap, that thing can only be understood by ocaml-gettext. Nobody else gets the lore. iykyk π«Ά
The whole point of this program? It's a backend for OCaml source code string extraction. That's the job. That's the assignment. And she ate. π₯
β οΈ bestie listen β you should not use it directly. fr fr. It's built to be called by other tooling, not by you at 3am. Hands off, let the backend do backend things π
π SEE ALSO π
ocaml-gettext(1)β the one bestie that actually understands the marshalled data structure, periodt π
π AUTHORS π
Sylvain Le Gall. β yes the whole page, one name, main character energy only π
okay that's the whole page, we're done here π this one is dated 2008-04-29 and it's the OCAML-XGETTEXT(1) manual, so if you ever forget, just come back and vibe check it π¦β¨ bye bestie, go extract some strings (indirectly!!) π
π¦ where this page comes from
- alpine 3.24: ocaml-gettext-doc 0.4.2-r6 Β· LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
- centos-stream 10: ocaml-gettext-devel 0.4.2-23.el10 Β· LGPL-2.1-or-later with OCaml-LGPL-linking-exception
- centos-stream 9: ocaml-gettext-devel 0.4.2-6.el9 Β· LGPLv2+ with exceptions
- debian bookworm: libgettext-ocaml-dev 0.4.2-1+b5 Β· LGPL-2.1-or-later
- debian trixie: libgettext-ocaml-dev 0.5.0+really0.4.2-1+b1 Β· LGPL-2.1-or-later
- fedora 43: ocaml-gettext-devel 0.5.0-6.fc43 Β· LGPL-2.1-or-later with OCaml-LGPL-linking-exception
- fedora 44: ocaml-gettext-devel 0.5.0-8.fc44 Β· LGPL-2.1-or-later with OCaml-LGPL-linking-exception
- nixos 26.05: ocaml5.4.1-gettext 0.5.0
- nixpkgs unstable: ocaml5.5.1-gettext 0.5.0
- opensuse-leap 16.0: ocaml-gettext 0.4.2-160000.3.2 Β· SUSE-LGPL-2.0-with-linking-exception
- opensuse-leap 16.0: ocaml-gettext 0.4.2-160000.3.2 Β· SUSE-LGPL-2.0-with-linking-exception
- opensuse-leap 16.0: ocaml-gettext 0.4.2-160000.3.2 Β· SUSE-LGPL-2.0-with-linking-exception
- opensuse-leap 16.0: ocaml-gettext 0.4.2-160000.3.2 Β· SUSE-LGPL-2.0-with-linking-exception
- ubuntu jammy: libgettext-ocaml-dev 0.4.2-1build3 Β· LGPL-2.1-or-later
- ubuntu noble: libgettext-ocaml-dev 0.4.2-3build1 Β· LGPL-2.1-or-later
- ubuntu questing: libgettext-ocaml-dev 0.5.0+really0.4.2-1build1
- ubuntu resolute: libgettext-ocaml-dev 0.5.0++git5-g6591d7a-1build1 Β· LGPL-2.1-or-later
- ubuntu stonking: libgettext-ocaml-dev 0.5.0++git5-g6591d7a-1build3 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms