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 = msgs.split("\n") msg, write = [], False for line in lines: if not line.strip(): write = True if write: msg.append(line) msgs = "\n".join(msg) (space formatting will probably get messed up by google group) and everything goes fine. I'll fill a ticket when I can. Olivier On 21 juil, 17:43, Carl Karsten <[EMAIL PROTECTED]> wrote: > 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, make_message doesn't find any string to translate, > > without raising any error or warning. > > > Has someone any clue about what's going on ? > > Are there any issues with i18n on win32 ? > > run the unit tests for win and sqlite as described: > > http://code.djangoproject.com/wiki/TestingDjango > > (let me how that page could be improved.) > > I am guessing you will get 3 errors, which has something to do with setup.py. > > Carl K --~--~---------~--~----~------------~-------~--~----~ 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 from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---