xgettext — Extract gettext Call Strings from C Programs

Synopsis

/usr/bin/xgettext [-ns][-a [-x exclude-file]][-c comment-tag] 
  [-d default-domain] [-j][-m prefix][-M suffix][-p pathname] 
  - | filename... 
/usr/bin/xgettext -h 

Description

Use the xgettext command to automate the creation of portable message files (.po). A .po file contains copies of C strings that are found in ANSI C source code in filename or the standard input if you specify - on the command line. You can use the .po file as input to the msgfmt(1) command, which produces a binary form of the message file that can be used by an application during runtime.

xgettext writes msgid strings from gettext(3C) calls in filename to the default output file messages.po. You can change ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.