Lino Website

#19 : migrate from i18n to gettext

requests for help

pygettext.py doesn't find messages

Monday, 14. March 2005 20:35.

I'd like to migrate from i18n to gettext, but my first attempts failed.

If I run the command

find t:/svnwork/lino/trunk/src -name '*.py' | xargs c:\Python23\Tools\i18n\pygettext.py -v -a -d lino

then something happens:

Working on t:/svnwork/lino/trunk/src/sandbox/barcodes.py
Working on t:/svnwork/lino/trunk/src/sandbox/ftpsync.py
EOF in multi-line statement: t:/svnwork/lino/trunk/src/sandbox/ftpsync.py, 
line 74, column 0
Working on t:/svnwork/lino/trunk/src/sandbox/html2oo.py
Working on t:/svnwork/lino/trunk/src/sandbox/mailboxes.py
Working on t:/svnwork/lino/trunk/src/sandbox/rowclass.py
Working on t:/svnwork/lino/trunk/src/sandbox/sqlite_test.py
Working on t:/svnwork/lino/trunk/src/sandbox/test_pgdb.py
Working on t:/svnwork/lino/trunk/src/sandbox/twistserver/1.py
Working on t:/svnwork/lino/trunk/src/sandbox/xmlrpcd.py

and a file lino.pot is created, but it contains no messages. Only the standard header. What am I doin wrong?

Copyright 2001-2007 Luc Saffre.
http://lino.saffre-rumma.ee
Generated 2007-06-07 16:22:23