Re: i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-23 Thread koenb
That fix seems to work ok for me now. Thanks Ramiro, Koen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe

Re: i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-22 Thread Ramiro Morales
On 7/22/07, koenb <[EMAIL PROTECTED]> wrote: > > Check ticket 4899. It is the newline thing. The extra chr(13) under > Windows breaks the fix from the ticket. > Oops. Yes I've just found the same, it seems I broke it under win32 with the mod using itertools.dropwhile(). Find attached to that

Re: i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-22 Thread koenb
Check ticket 4899. It is the newline thing. The extra chr(13) under Windows breaks the fix from the ticket. Koen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-22 Thread Carl Karsten
olivier wrote: > Hi Carl, > > Actually, it seems like the header stripping on line 122 of make- > message.py is too aggressive and removes all lines of the output of > xgettext. > > I replaced : > > msgs = '\n'.join(dropwhile(len, > msgs.split('\n'))) > > by: > >

Re: i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-22 Thread olivier
Hi Carl, Actually, it seems like the header stripping on line 122 of make- message.py is too aggressive and removes all lines of the output of xgettext. I replaced : msgs = '\n'.join(dropwhile(len, msgs.split('\n'))) by: lines =

Re: i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-21 Thread Carl Karsten
olivier wrote: > Hi group, > > I'm running Windows XP, django from the trunk, pyhon 2.5.1. > As recommended here [1], I run gettext natively (not Cygwin), using > gettext for win32 [2]. > My templates, my python source files and my settings are all made by > the book. > > Nevertheless,

i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-21 Thread olivier
Hi group, I'm running Windows XP, django from the trunk, pyhon 2.5.1. As recommended here [1], I run gettext natively (not Cygwin), using gettext for win32 [2]. My templates, my python source files and my settings are all made by the book. Nevertheless, make_message doesn't find any string to