I use this way too, to extract messages from templates i use python babel javascript extraction method, with keyword '$_' I know it is bad, but it worked for most of the strings.
I wish there was extraction method for webpy templates, as it is for other templates http://babel.edgewall.org/wiki/BabelPlugins It would be awesome if somebody has written this. I'm just not good in writing parser stuff On Nov 29, 6:58 pm, Zhang Huangbin <[EMAIL PROTECTED]> wrote: > On Nov 29, 11:19 pm, "Aaron Swartz" <[EMAIL PROTECTED]> wrote: > > > $_('Message') > > One more question, is there any method to extract these string from > template file? like pygettext.py in Python-2.6, or babel? > > Thanks :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
