Makemessages patch

2 views
Skip to first unread message

David Zwarg

unread,
Jan 6, 2012, 2:36:03 PM1/6/12
to districtb...@googlegroups.com
Hello,

There is a known gettext bug in which the javascript files are not parsed correctly when generating messages. I think that django 1.2 and 1.3 need to apply this patch to get a better javascript lexer for the gettext message tools:

https://code.djangoproject.com/changeset/16333

The important thing here is that it uses a javascript lexer, instead of a Perl (?) lexer like it was before. I ran into this problem during i18n, as some messages in the Javascript Source files were not appearing in the .po files after running the 'makemessages' admin command.

--
David Zwarg, Software Developer

Azavea  |  One Cambridge Center, 6th Floor, Cambridge, MA 02142-1601
dzw...@azavea.com  | T 617.649.2227  | F 215.925.2663
Web azavea.com  |  Blog azavea.com/blogs
Reply all
Reply to author
Forward
0 new messages