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 --update option 🚫
  • --update β€” Writes the header file into the same directory the source file is in. New file name is the source file name appending the .h extension. This option can't be used with the -l/--local option. Also, this option is the default option if neither --local nor --update is 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 .ui files)
  • -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 is intltool and the version date is 2003-08-02 β€” yes it's a vintage, and yes it still slays πŸ’– bye bestie! 🌸