#9753: makemessages failed on long Chinese text
-------------------------------------------+--------------------------------
          Reporter:  Will                  |         Owner:  nobody             
         
            Status:  new                   |     Milestone:  post-1.0           
         
         Component:  Internationalization  |       Version:  1.0                
         
        Resolution:                        |      Keywords:  django-admin.py 
makemessages
             Stage:  Unreviewed            |     Has_patch:  0                  
         
        Needs_docs:  0                     |   Needs_tests:  0                  
         
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by kmtracey):

 I figured there might be a good reason for specifying Python as the
 language, I just didn't know what it was.  I've not done much with
 translation besides trying to recreate (since I do have Windows boxes to
 test on) these problems that seem to affect only Windows due to the older
 level of gettext that is most prevalent there.

 The thing I tried to say about specifying --no-wrap to xgettext was that
 it doesn't affect the .po file output by our makemessages management
 command, since the subsequent invocation of msguniq appears to wrap the
 lines that weren't wrapped by xgettext.  That is, when I tried fixing the
 problem by adding --no-wrap on xgettext (conditionally only when running
 the old gettext level), I was surprised to find that the output file still
 had that very long Chinese message wrapped).  So I was thinking it would
 be OK to fix this problem (assuming it's actually what the original poster
 was seeing) by always specifying --no-wrap on xgettext, since the xgettext
 output (near as a I can tell?) is always runs through another processing
 step that will take care of wrapping the long lines.  But as I said I'm
 not really familiar with any of these utilities so perhaps I am missing
 something?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9753#comment:4>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to