#31540: A 404 error with “id-” in slug on multilingual website with Indonesian
language.
-------------------------------------+-------------------------------------
     Reporter:  osxisl               |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:                       |                  Version:  3.0
  Internationalization               |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by osxisl):

 Replying to [comment:3 felixxm]:
 > Thanks for this ticket, however I cannot reproduce this issue. IMO it's
 not an issue in Django, you can try to ask on one of
 [https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels
 support channels].

 For me it looks like there is a problem regex here
 
https://github.com/django/django/blob/92507bf3ea4dc467f68edf81a686548fac7ff0e9/django/utils/translation/trans_real.py#L46
 It activates "id" language when meets "id-button" in slug despite I only
 use in settings "id" not "id-button" locale. And I'm sure no such locale
 in Unicode as well.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31540#comment:4>
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/064.203c1a560f4f9220af019df8fc86f895%40djangoproject.com.

Reply via email to