---
name: "ocaml-xgettext"
section: "1"
platform: "linux"
package: "libgettext-ocaml-dev"
version: "0.5.0+really0.4.2-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ocaml-xgettext"
---

# ocaml-xgettext(1)

program to extract translatable strings from OCaml source file.

## NAME

ocaml-xgettext - program to extract translatable strings from OCaml source file.

## SYNOPSIS

ocaml-xgettext \[ppx arguments\] \[filename\]

## DESCRIPTION

This manual page documents briefly the ocaml-xgettext

ocaml-xgettext is a ppx filter. It outputs an OCaml marshalled data structure that can only be understood by ocaml-gettext. The purpose of this program is to be a backend for OCaml source code string extraction. You should not use it directly.

## SEE ALSO

[`ocaml-gettext`(1)](/ocaml-gettext/1.md)

## AUTHORS

Sylvain Le Gall.
