1 .TH INTLTOOL-UPDATE 8 "2003-08-02" "intltool"
4 intltool-update \- updates PO template file and merge translations with it
7 .BI intltool-update " [option]..."
9 .BI intltool-update " LANGCODE"
13 generates new po file templates from source code, and merges existing
14 translations with these new po templates.
16 You must change working directory to the subdirectory containing translations
17 (usually "\fIpo/\fR") before running \fBintltool-update\fR.
22 , only one mode of operation is allowed each time.
23 .\" -------------------------------------------------------
24 .SS "Mode of operation"
25 .\" -------------------------------------------------------
30 Generate po template (.pot) only.
33 .IP "\fB\-\-headers\fR" 4
35 Executes \fBintltool-extract\fR(8) to extract strings inside XML/INI
36 style files listed in \fBPOTFILES.in\fR, and writes the extracted
37 strings into header files, so that the strings can be recognised
41 .IP "\fB\-\-maintain\fR" 4
43 Search for left out files, which should have been listed in
47 A list of all these files are written into another file called
51 .IP "\fB\-\-report\fR" 4
53 Display a status report for all translations in the software.
54 .IP "\fB\-d \fILANGCODE\fR" 4
56 .IP "\fB\-\-dist \fILANGCODE\fR" 4
60 with existing PO template.
61 .\" -------------------------------------------------------
63 .\" -------------------------------------------------------
65 .IP "\fB\-g \fINAME\fR" 4
67 .IP "\fB\-\-gettext-package\fR=\fINAME\fR" 4
69 Manually specify PO template file name, instead of determining the
70 name automatically from source. Useful with
72 option. This option has an additional effect: the name of current working
73 directory is no more limited to "po" or "po-*".
74 .IP "\fB\-o \fIFILENAME\fR" 4
76 .IP "\fB\-\-output-file\fR=\fIFILENAME\fR" 4
78 Manually specify output \fIFILENAME\fR after merging old translation with
79 PO template. Useful either with
81 option or without any option.
84 .IP "\fB\-\-verbose\fR" 4
86 Display lots of feedback.
87 .IP "\fB\-\-version\fR" 4
88 Show version information.
89 .IP "\fB\-\-help\fR" 4
90 Show usage and basic help information.
93 Creates a new PO template from source code, and name it foo.pot:
99 intltool-update \-\-pot \-\-gettext-package=foo
104 Updates translation file xy.po using existing po template called
105 "bar.pot", and writes output into "xy1.po":
111 intltool-update \-\-dist \-\-gettext-package=bar \-\-output-file=xy1.po xy
116 Creates new PO template and updates translation file xy.po
117 (xy.po is overwritten with new content):
126 (same as \fBintltool-update \-\-pot && intltool-update \-\-dist xy\fR)
130 .IP "\fBpo/POTFILES.in\fR"
131 Contains list of source files which contain translatable strings,
133 .IP "\fBpo/POTFILES.skip\fR"
135 .IP "\fBpo/POTFILES.ignore\fR (obsolete)"
137 Contains list of source files which should be ignored when searching
138 for translatable strings.
141 Report bugs to http://bugs.launchpad.net/intltool
144 Darin Adler <darin@bentspoon.com>
146 Kenneth Christiansen <kenneth@gnu.org>
148 Maciej Stachowiak <mjs@eazel.com>
152 .BR intltool-prepare (8),
153 .BR intltool-extract (8),
154 .BR intltool-merge (8),