annotate doc/cmdline.txt @ 2:20896f1e91c6 trunk

Forgot to check in the doc directory.
author cmlenz
date Wed, 30 May 2007 07:37:26 +0000
parents
children 6b9c32893007
rev   line source
2
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
1 .. -*- mode: rst; encoding: utf-8 -*-
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
2
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
3 ======================
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
4 Command-Line Interface
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
5 ======================
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
6
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
7 Babel includes a command-line interface for working with message catalogs,
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
8 similar to the GNU ``xgettext`` program commonly available on Linux/Unix
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
9 systems.
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
10
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
11
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
12 .. contents:: Contents
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
13 :depth: 2
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
14 .. sectnum::
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
15
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
16
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
17 pygettext
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
18 =========
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
19
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
20 When properly installed, Babel provides a script called ``pygettext``, which can
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
21 be used to extract localized messages from a variety of files::
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
22
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
23 $ pygettext --help
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
24 usage: pygettext [options] dirname1 <dirname2> ...
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
25
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
26 options:
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
27 --version show program's version number and exit
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
28 -h, --help show this help message and exit
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
29 --charset=CHARSET charset to use in the output
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
30 -k KEYWORDS, --keyword=KEYWORDS
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
31 keywords to look for in addition to the defaults. You
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
32 can specify multiple -k flags on the command line.
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
33 --no-location do not include location comments with filename and
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
34 line number
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
35 --omit-header do not include msgid "" entry in header
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
36 -o OUTPUT, --output=OUTPUT
20896f1e91c6 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
37 path to the output POT file
Copyright (C) 2012-2017 Edgewall Software