#26319: British English can't be returned from the javascript_catalog
-------------------------------+--------------------
     Reporter:  doug-fish      |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Uncategorized  |    Version:  1.9
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 We have translations for British English (Australian English too!) and
 they aren't displayed in javascript based segments of our Django
 application.

 Digging into the problem I believe the issue is in Django. Specifically
 this line:
 https://github.com/django/django/blob/master/django/views/i18n.py#L212

 Ultimately makes every English variant fall back to plain "en" at
 https://github.com/django/django/blob/master/django/views/i18n.py#L248

 I suggest the fix is to check for equality over starts with at line 212.

--
Ticket URL: <https://code.djangoproject.com/ticket/26319>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.eb097a605f5964026cd7779f74258157%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to