*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> xgettext (1)              



NAME    [Toc]    [Back]

       xgettext - extract translatable string from given input files

SYNOPSIS    [Toc]    [Back]

       xgettext [OPTION] INPUTFILE ...

DESCRIPTION    [Toc]    [Back]

       Mandatory  arguments  to  long  options are mandatory for short options

       -a, --extract-all
	      extract all strings

       -c, --add-comments[=TAG]
	      place comment block with TAG (or those preceding keyword	lines)
	      in output file

       -C, --c++
	      shorthand for --language=C++

	      more detailed formatstring recognision result

       -d, --default-domain=NAME
	      use NAME.po for output (instead of messages.po)

       -D, --directory=DIRECTORY
	      add DIRECTORY to list for input files search

       -e, --no-escape
	      do not use C escapes in output (default)

       -E, --escape
	      use C escapes in output, no extended chars

       -f, --files-from=FILE
	      get list of input files from FILE

	      write PO file even if empty

	      omit FSF copyright in output for foreign user

       -F, --sort-by-file
	      sort output by file location

       -h, --help
	      display a help message and exit

       -i, --indent
	      write the .po file using indented style

       -j, --join-existing
	      join messages with existing file

       -k, --keyword[=WORD]
	      additonal  keyword  to  be looked for (without WORD means not to
	      use default keywords)

       -L, --language=NAME
	      recognise the specified language	(C,  C++,  PO),  otherwise  is
	      guessed from file extension

       -m, --msgstr-prefix[=STRING]
	      use STRING or "" as prefix for msgstr entries

       -M, --msgstr-suffix[=STRING]
	      use STRING or "" as suffix for msgstr entries

	      do not write '#: filename:line' lines

       -n, --add-location
	      generate '#: filename:line' lines (default)

	      don't write header with `msgid ""' entry

       -o, --output=FILE
	      write output to specified file

       -p, --output-dir=DIR
	      output files will be placed in directory DIR

       -s, --sort-output
	      generate sorted output and remove duplicates

	      write out strict Uniforum conforming .po file

       -T, --trigraphs
	      understand ANSI C trigraphs for input

       -V, --version
	      output version information and exit

       -w, --width=NUMBER
	      set output page width

       -x, --exclude-file=FILE
	      entries from FILE are not extracted

       If INPUTFILE is -, standard input is read.

AUTHOR    [Toc]    [Back]

       Written by Ulrich Drepper.

REPORTING BUGS    [Toc]    [Back]

       Report bugs to <bug-gnu-utils@gnu.org>.

COPYRIGHT    [Toc]    [Back]

       Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
       This is free software; see the source for copying conditions.  There is
       NO warranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR

SEE ALSO    [Toc]    [Back]

       gettext(1), msgmerge(1)

       The  full documentation for xgettext is maintained as a Texinfo manual.
       If the info and xgettext programs are properly installed at your  site,
       the  command  info xgettext should give you access to the complete manual.

       On Debian, the manual is also available in HTML format in the  gettextdoc

GNU gettext 0.10.36		  April 2001			   XGETTEXT(1)
[ Back ]
 Similar pages
Name OS Title
exstr IRIX extract strings from source files
strain IRIX extract errors from build log files.
tcpslice FreeBSD extract pieces of and/or glue together tcpdump files
strsep Linux extract token from string
XmImMbLookupString HP-UX An input manager function that retrieves a composed string from an input method
extract Tru64 interactive string extract and replace
sswsextr IRIX extract working set files from SpeedShop ideal-time experiment
XmStringGetLtoR HP-UX A compound string function that searches for a text segment in the input compound string
XmStringGetLtoR Tru64 A compound string function that searches for a text segment in the input compound string
XmStringGetLtoR IRIX A compound string function that searches for a text segment in the input compound string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service