summaryrefslogtreecommitdiffstats
path: root/doc/gettext.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-05-29 12:57:21 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:08:34 +0200
commit1d726c4e469306e63ccc849ecd5aab42e5359594 (patch)
tree10daf4706c5baaa1ac31cb088595f1f898b59111 /doc/gettext.texi
parentf4f97fb45fd4aaac0cfa73f2131254fb912547ef (diff)
downloadexternal_gettext-1d726c4e469306e63ccc849ecd5aab42e5359594.zip
external_gettext-1d726c4e469306e63ccc849ecd5aab42e5359594.tar.gz
external_gettext-1d726c4e469306e63ccc849ecd5aab42e5359594.tar.bz2
Explain xgettext output file name.
Diffstat (limited to 'doc/gettext.texi')
-rw-r--r--doc/gettext.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/gettext.texi b/doc/gettext.texi
index 86d72c4..ff13660 100644
--- a/doc/gettext.texi
+++ b/doc/gettext.texi
@@ -2359,6 +2359,13 @@ use this second method in this situation.
After preparing the sources, the programmer creates a PO template file.
This section explains how to use @code{xgettext} for this purpose.
+@code{xgettext} creates a file named @file{@var{domainname}.po}. You
+should then rename it to @file{@var{domainname}.pot}. (Why doesn't
+@code{xgettext} create it under the name @file{@var{domainname}.pot}
+right away? The answer is: for historical reasons. When @code{xgettext}
+was specified, the distinction between a PO file and PO file template
+was fuzzy, and the suffix @samp{.pot} wasn't in use at that time.)
+
@c FIXME: Rewrite.
@menu