#33722: proposal: change default domain in JavaScriptCatalog view from 
'djangojs'
to 'django' in order to match the default translation file names
------------------------------------------------+------------------------
               Reporter:  Wim Feijen            |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Internationalization  |        Version:  4.0
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 Hi,

 When using "makemessages -l nl" and "compilemessages -l nl" , Django
 creates "django.po" and "django.po" files by default.

 However, when using JavaScriptCatalog view, it supposes that the default
 domain is "djangojs", which is different. I find this confusing.

 My proposal is to change the default domain to "django" in
 Javascriptcatalog; or else to check for both "django" and "djangojs" files
 if no domain is given.

 At the least, we could change the documentation and hint that you might
 want to change the default to "django":

         Translation domain containing strings to add in the view output.
 Defaults to 'djangojs'. *You might want to change this to 'django'.*

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33722>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070180d6b65f9c-f1450601-c318-4d5a-abe4-5a47d2f336f5-000000%40eu-central-1.amazonses.com.

Reply via email to