INTLTOOL-EXTRACT(8)
β¨ intltool-extract β¨
okay bestie, welcome to intltool-extract β it's a System Manager's Manual page and it's literally the gettext header-file generator of your dreams π (the manual name is INTLTOOL-EXTRACT(8), iykyk)
πΈ NAME πΈ
intltool-extract β generate header files which can be read by gettext
π SYNOPSIS π
intltool-extract [options]... SOURCE_FILE
π¦ DESCRIPTION π¦
So here's the vibe: intltool-extract extracts strings in the specified XML/INI type SOURCE_FILE and writes them into a C header file. Then xgettext(1) can merge these strings inside the header file into the po template. iconic behaviour, honestly β¨
Real talk though: intltool-extract is usually not executed manually β it gets called from intltool-update(8) instead. it's giving backstage crew, not main character π
π OPTIONS π
-l,--localβ Creates a subdirectory under the current working directory (named"tmp/") and writes files there. Heads up bestie: this option can't be used with the--updateoption π«--updateβ Writes the header file into the same directory the source file is in. New file name is the source file name appending the.hextension. This option can't be used with the-l/--localoption. Also, this option is the default option if neither--localnor--updateis specified π--type=TYPEβ Specify the type of source file. Currently supported types are:"gettext/glade"(.glade,.glade2)"gettext/gsettings"(.gschema.xml)"gettext/ini"(Generic INI file)"gettext/keys"(.keys)"gettext/rfc822deb"(RFC 822 format file)"gettext/quoted"(all strings within"")"gettext/schemas"(.schemas)"gettext/scheme"(.scm)"gettext/xml"(Generic XML file)"gettext/qtdesigner"(Qt Designer.uifiles)
-v,--versionβ Show version information. β-h,--helpβ Show usage and basic help information. π«Ά-q,--quietβ Be quiet while running. π€« (not me being silent for once π)
π REPORTING BUGS π
Report bugs to http://bugs.launchpad.net/intltool β they wanna hear it fr fr π
π AUTHOR π
- Darin Adler
<darin@bentspoon.com> - Kenneth Christiansen
<kenneth@gnu.org> - Maciej Stachowiak
<mjs@eazel.com>
π₯ SEE ALSO π₯
intltoolize(8), intltool-prepare(8), intltool-merge(8), intltool-update(8), xgettext(1)
okay that's the whole page, you ate that π the source isintltooland the version date is2003-08-02β yes it's a vintage, and yes it still slays π bye bestie! πΈ
π¦ where this page comes from
- alpine 3.24: intltool-doc 0.51.0-r9 Β· GPL-2.0-or-later
- arch rolling: intltool 0.51.0-7 Β· GPL-2.0-or-later
- centos-stream 10: intltool 0.51.0-29.el10 Β· GPL-2.0-or-later WITH Autoconf-exception-generic
- centos-stream 9: intltool 0.51.0-20.el9 Β· GPLv2 with exceptions
- debian bookworm: intltool 0.51.0-6
- debian trixie: intltool 0.51.0-7
- fedora 43: intltool 0.51.0-43.fc43 Β· GPL-2.0-or-later WITH Autoconf-exception-generic
- fedora 44: intltool 0.51.0-44.fc44 Β· GPL-2.0-or-later WITH Autoconf-exception-generic
- nixos 26.05: intltool 0.51.0
- nixpkgs unstable: intltool 0.51.0
- opensuse-leap 16.0: intltool 0.51.0-160000.3.2 Β· GPL-2.0-or-later
- ubuntu jammy: intltool 0.51.0-6
- ubuntu noble: intltool 0.51.0-6
- ubuntu resolute: intltool 0.51.0-7
- ubuntu stonking: intltool 0.51.0-7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms