#33514: Fallback to language without region for select2 translation
-----------------------------------------+------------------------
               Reporter:  David Glenck   |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  contrib.admin  |        Version:  4.0
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  1
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  1              |
-----------------------------------------+------------------------
 When using for example the setting `LANGUAGE_CODE="de-ch"`, the
 autocomplete_field widget will be in English as select2 does not provide
 the specific regional translation for "de-ch". However the existing
 translation language "de" would be a much better approximation.

 I suggest using the language without region from the LANGUAGE_CODE in case
 an exact match can not be found.

 This is __not__ a duplicate of https://code.djangoproject.com/ticket/33070
 .

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33514>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.7ec0685108e83404c1761610eed4b0c7%40djangoproject.com.

Reply via email to