INTLTOOL-EXTRACT(8) System Manager's Manual INTLTOOL-EXTRACT(8)

# [NAME](#NAME)

intltool-extract - generate header files which can be read by gettext

# [SYNOPSIS](#SYNOPSIS)

**intltool-extract** *\[options]... SOURCE\_FILE*

# [DESCRIPTION](#DESCRIPTION)

**intltool-extract** extracts strings in the specified XML/INI type *SOURCE\_FILE* and writes them into a C header file. Then [**xgettext**(1)](/man/os/intltool/xgettext.1) can merge these strings inside header file into po template.

**intltool-extract** is usually not executed manually, but called from [**intltool-update**(8)](/man/os/intltool/intltool-update.8) instead.

# [OPTIONS](#OPTIONS)

[**-l**](#l)

[**--local**](#local)

Creates a subdirectory under current working directory (named "**tmp/**") and writes files there. This option can't be used with **--update** option.

[**--update**](#update)

Writes header file into the same directory the source file is in. New file name is the source file name appending ".h" extension. This option can't be used with **-l**/**--local** option. Besides, this option is the default option if neither **--local** nor **--update** is specified.

[**--type**=*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**](#v)

[**--version**](#version)

Show version information.

[**-h**](#h)

[**--help**](#help)

Show usage and basic help information.

[**-q**](#q)

[**--quiet**](#quiet)

Be quiet while running.

# [REPORTING BUGS](#REPORTING_BUGS)

Report bugs to http://bugs.launchpad.net/intltool

# [AUTHOR](#AUTHOR)

Darin Adler &lt;darin@bentspoon.com&gt;  
Kenneth Christiansen &lt;kenneth@gnu.org&gt;  
Maciej Stachowiak &lt;mjs@eazel.com&gt;

# [SEE ALSO](#SEE_ALSO)

[**intltoolize**(8)](/man/os/intltool/intltoolize.8), [**intltool-prepare**(8)](/man/os/intltool/intltool-prepare.8), [**intltool-merge**(8)](/man/os/intltool/intltool-merge.8), [**intltool-update**(8)](/man/os/intltool/intltool-update.8), [**xgettext**(1)](/man/os/intltool/xgettext.1)

2003-08-02 intltool

---

Document: intltool-extract(8) from intltool 0.51.0-r8 (Chainguard OS)
Source: https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz
