#10869: ./manage.py makemessages should let users specify input directories
----------------------------------+-----------------------------------------
 Reporter:  filipnoetzel          |       Owner:  jezdez    
   Status:  new                   |   Milestone:            
Component:  Internationalization  |     Version:  1.0       
 Keywords:  makemessages i18n     |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 When building an multilingual webapp using django reusable apps, one needs
 to translate them as well (and include the translation strings in the .po
 file) ..

 Unfortunately ./manage.py makemessages only searches the current directory
 for translatable strings. Suppose, your directory setup is like

 {{{
 bin/
 bin/activate
 lib/
 lib/python2.6/
 lib/python2.6/site-packages/
 lib/python2.6/site-packages/contact_form/
 lib/python2.6/site-packages/registration/
 source/
 source/manage.py
 source/settings.py
 source/locale/
 }}}

 There is no way including the needed translations for django-contact-form
 and django-registration in your .po-files using ./manage.py makemessages

 The attached patch takes care of that by adding a "-D" flag (modeled after
 xgettext's -D flag - http://linux.die.net/man/1/xgettext ) that takes the
 input directories as parameters. If none is specified the default
 behaviour (searching in the current directory) is unchanged.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10869>
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