#16284: djangojs uses en as fallback language rather than projects language code
-------------------------------------+-------------------------------------
               Reporter:  anonymous  |          Owner:  aaugustin
                   Type:             |         Status:  assigned
  Cleanup/optimization               |      Component:
              Milestone:             |  Internationalization
                Version:  1.3        |       Severity:  Normal
             Resolution:             |       Keywords:
           Triage Stage:  Design     |      Has patch:  0
  decision needed                    |    Needs tests:  0
    Needs documentation:  0          |  Easy pickings:  0
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * status:  new => assigned
 * needs_better_patch:   => 0
 * component:  Uncategorized => Internationalization
 * needs_tests:   => 0
 * owner:  nobody => aaugustin
 * needs_docs:   => 0
 * type:  Uncategorized => Cleanup/optimization
 * stage:  Unreviewed => Design decision needed


Comment:

 Indeed, it's weird to have a special case for English.

 This dates back to r1560. Unfortunately, the commit message is not
 explicit, and it doesn't reference a ticket.

 That code was touched several times recently (r14901, r15404, r15441).
 #13726 is a good entry point, but I still don't understand very well
 what's going on there.

 I'll mark this ticket as DDN, because I think we need to check if the
 special case is useful, or if it's just an historic artifact.

 ----

 While investigating this ticket, I noticed there is another explicit
 reference to English as the "untranslated language" in
 `django.core.management.base.execute()`. The comment dates back to #5898,
 which was a refactoring, so it may be even older. It would be nice to
 check what's happening there too, and add an helpful comment for future
 developers :)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16284#comment:1>
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