#33078: Internationalisation didn't support language locale containing both 
script
and region.
-------------------------------------+-------------------------------------
     Reporter:  A-hông               |                    Owner:  Maxim
                                     |  Piskunov
         Type:  New feature          |                   Status:  assigned
    Component:                       |                  Version:  dev
  Internationalization               |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Maxim Piskunov):

 * has_patch:  0 => 1


Comment:

 Replying to [comment:3 Claude Paroz]:
 > Thanks for the explanation. It makes much more sense now!
 >
 > After a very quick glance, an idea could be to take `settings.LANGUAGES`
 into account somehow in `get_language_from_path`. Extending the regex
 might catch way too much non-language stuff.

 Hey. I was checking the code for get_language_from_path. Not sure how to
 include `settings.LANGUAGES` in the flow there.
 I made a PR with regex version.
 [https://github.com/django/django/pull/15098 PR]

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33078#comment:5>
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/072.5d12e77b1c1ca664ef2a4ffd506e266b%40djangoproject.com.

Reply via email to