#17181: Allow for specifying multiple locales and domains for makemessages and
compilemessages commands
-------------------------------------+-------------------------------------
     Reporter:  aminland             |      Owner:  nobody
         Type:  Uncategorized        |     Status:  new
    Component:                       |    Version:  1.3
  Internationalization               |   Keywords:  i18n makemessages
     Severity:  Normal               |  compilemessages
 Triage Stage:  Unreviewed           |  Has patch:  1
Easy pickings:  1                    |      UI/UX:  0
-------------------------------------+-------------------------------------
 It is pretty annoying to have to run the commands separately for each
 language/domain combo without having to do all of them. Lets say only
 german, spanish, french, and italian have been changed. Your current
 choices are to run makemessages 8 times (4 each for django and djangojs
 domains), or to run it for all languages (which in the case of a large
 project like django itself, will take much much longer).

 This patch allows you to specify multiple languages and/or domains when
 doing translation.

 The old way:
 {{{
 django-admin.py makemessages -d django -l de
 django-admin.py makemessages -d django -l fr
 django-admin.py makemessages -d django -l es
 django-admin.py makemessages -d django -l it
 django-admin.py makemessages -d djangojs -l de
 django-admin.py makemessages -d djangojs -l fr
 django-admin.py makemessages -d djangojs -l es
 django-admin.py makemessages -d djangojs -l it
 django-admin.py compilemessages -l de
 django-admin.py compilemessages -l fr
 django-admin.py compilemessages -l es
 django-admin.py compilemessages -l it
 }}}
 With this patch:
 {{{
 django-admin.py makemessages -d django -d djangojs -l de -l fr -l es -l it
 django-admin.py compilemessages -l de -l fr -l es -l it
 }}}


 Backwards compatibility is maintained, and the existing defaults remain.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17181>
Django <https://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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to