1INTLTOOL-PREPARE(8) System Manager's Manual INTLTOOL-PREPARE(8)
2
3
4
6 intltool-prepare - Prepare software to make use of intltool
7
8
10 intltool-prepare [option] [KEYWORD]...
11
12
13
15 For software packages that include some specific type of translatable
16 files (such as .desktop and .soundlist), before they make use of intl‐
17 tool, translators have to dig through them one by one, and add their
18 localization into each file. This process is error prone, since trans‐
19 lators may include typing errors, or add their localization in wrong
20 encoding. Besides, translators may not alwas know other files (beside
21 .po files) are translatable.
22
23 intltool avoids all the problems above by extracting strings inside
24 those translatable files into po template (.pot) file. All translators
25 need to care about is just translating po files. Afterwards, intltool-
26 merge(8) will merge localized strings into those files.
27
28 Before your software becomes intltool-aware, a few issues have to be
29 sorted out, and intltool-prepare tries to take care of all of them.
30 intltool-prepare will:
31
32 · Extract all localized strings in .desktop style files (including
33 ".desktop", ".soundlist", ".keys" and ".directory") into correspond‐
34 ing po files.
35
36 · Convert the translatable files into templates that don't contain any
37 localization.
38
39 · Add the list of template files above into POTFILES.in.
40
41 · Add the list of old translatable files into .cvsignore (since they
42 will be generated by intltool later).
43
44 · Add the rules for generating these files into Makefile.am.
45
46 NOTE: You must change working directory to the top level source direc‐
47 tory before running intltool-prepare.
48
49
51 KEYWORD is a list of additional keywords beside "Name", "Comment" and
52 "description". intltool-prepare will recognize any line starting with
53 those KEYWORD and extract localized strings after equal sign ("=").
54
55 -x
56 --verbose
57 Be verbose to give user additional feedback.
58
59 -v
60 --version
61 Show version information.
62 -h
63 --help
64 Show usage and basic help information.
65
66
68 Report bugs to http://bugs.launchpad.net/intltool
69
71 Darin Adler <darin@bentspoon.com>
72 Kenneth Christiansen <kenneth@gnu.org>
73 Maciej Stachowiak <mjs@eazel.com>
74
75
77 intltoolize(8), intltool-update(8), intltool-extract(8), intltool-
78 merge(8)
79
80
81
82intltool 2003-08-02 INTLTOOL-PREPARE(8)