annotate doc/cmdline.txt @ 4:2cada72b40ae

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