intltool-extract(1) User Commands intltool-extract(1)
NAME
intltool-extract - generate header file from XML source file
SYNOPSIS
intltool-extract [--ini-style] [--help] [--verbose] [--version] [--xml-style] [--scheme-style] source-file
DESCRIPTION
intltool-extract generates header files from the strings in the specified input files which gettext can use to merge strings into the .pot
file.
OPTIONS
The following options are supported:
--help Show usage and basic help information. You can also use -H to specify this option.
--ini-style Specifies that the source file is of type gettext/ini.
--scheme-style Specifies that the source file is of type gettext/scheme. You can also use -O to specify this option.
--verbose Provide additional feedback. You can also use -X to specify this option.
--version Show version information. You can also use -V to specify this option.
--xml-style Specifies that the source file is of type gettext/xml. You can also use -O to specify this option.
OPERANDS
The following operands are supported:
source-file Specifies the pathname of the XML file from which to extract translatable content.
EXAMPLES
Example 1: Generating a Header File for a Schemas File, With Verbose Output
example% intltool-extract -O --scheme-style foo.schemas.in
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/intltool-extracThe command-line executable for the application.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-common-devel |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
intltool-merge(1), intltool-prepare(1), intltool-unicodify(1), intltool-update(1), intltoolize(1)
NOTES
For more information, see the I18N-HOWTO file, which is provided with the intltool source code.
Updated by Damien Donlon, Sun Microsystems Inc., 2003. Written by Darin Adler, Kenneth Christiansen, Maciej Stachowiak.
SunOS 5.10 3 Apr 2003 intltool-extract(1)