diff I18N_PROGRESS.txt @ 423:c64ce58ee529

Resolve pygettext args; described command line calls
author Jürgen Hermann <jhermann@users.sourceforge.net>
date Fri, 30 Nov 2001 01:30:32 +0000
parents 0f9a59c90e53
children 18d4051bdae7 c242455d9b46
line wrap: on
line diff
--- a/I18N_PROGRESS.txt	Fri Nov 30 00:06:29 2001 +0000
+++ b/I18N_PROGRESS.txt	Fri Nov 30 01:30:32 2001 +0000
@@ -2,6 +2,18 @@
 write a simple script to compare the two and make sure that all MANIFEST
 files appear in here.
 
+To generate a messages.pot file, use this command:
+
+    python tools/pygettext.py roundup roundup-* cgi-bin/roundup.cgi
+
+"messages.pot" then contains a positive list of files using _(), which can
+be extracted by;
+
+    grep "#: " messages.pot | tr ":#0123456789 " "\012" | sort | uniq
+
+Of course, this does not check whether a file is fully translated, only
+whether there is at least one use of "_()".
+
 
 THESE FILES DO NOT USE _()
 ==========================

Roundup Issue Tracker: http://roundup-tracker.org/