Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-05-02 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sarah
 |  Boyce
 Type:  Bug  |   Status:  closed
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language,   |
  i18n_patterns  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by ab):

 Thank you for working on this and maintaining django so well!

 Anthony

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187db46af81-79608c78-bf3c-4aff-8cb9-5f2d33d987f4-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-05-01 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sarah
 |  Boyce
 Type:  Bug  |   Status:  closed
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language,   |
  i18n_patterns  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"f200d8369822e418906579503b8d3015a03e75f0" f200d836]:
 {{{
 #!CommitTicketReference repository=""
 revision="f200d8369822e418906579503b8d3015a03e75f0"
 [4.2.x] Fixed #34515 -- Made LocaleMiddleware prefer language from paths
 when i18n patterns are used.

 Regression in 94e7f471c4edef845a4fe5e3160132997b4cca81.

 This reverts commit 94e7f471c4edef845a4fe5e3160132997b4cca81
 (refs #34069) and
 partly reverts commit 3b4728310a7a64f8fcc548163b0aa5f98a5c78f5.

 Thanks Anthony Baillard for the report.

 Co-Authored-By: Sarah Boyce <42296566+sarahbo...@users.noreply.github.com>

 Backport of 0e444e84f87d174713a2aef0c4f9704ce2865586 from main
 }}}

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187dabd0c24-65d14419-7907-45f9-b37d-07990051c529-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-05-01 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sarah
 |  Boyce
 Type:  Bug  |   Status:  closed
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language,   |
  i18n_patterns  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"0e444e84f87d174713a2aef0c4f9704ce2865586" 0e444e8]:
 {{{
 #!CommitTicketReference repository=""
 revision="0e444e84f87d174713a2aef0c4f9704ce2865586"
 Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n
 patterns are used.

 Regression in 94e7f471c4edef845a4fe5e3160132997b4cca81.

 This reverts commit 94e7f471c4edef845a4fe5e3160132997b4cca81
 (refs #34069) and
 partly reverts commit 3b4728310a7a64f8fcc548163b0aa5f98a5c78f5.

 Thanks Anthony Baillard for the report.

 Co-Authored-By: Sarah Boyce <42296566+sarahbo...@users.noreply.github.com>
 }}}

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187dabc46c1-3f0f3798-ac78-4571-b8f9-6614226edf9b-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-28 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sarah
 |  Boyce
 Type:  Bug  |   Status:  assigned
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language,   |
  i18n_patterns  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 Alternative [https://github.com/django/django/pull/16810 PR].

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187c6cd8187-8c2f949c-ae4d-4ad1-95dc-72dda2eb801e-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-27 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sarah
 |  Boyce
 Type:  Bug  |   Status:  assigned
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language,   |
  i18n_patterns  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 [https://forum.djangoproject.com/t/django-behavior-on-translatable-url-
 patterns-i18n-patterns-when-prefix-default-language-false-is-used/20564
 Django forum discussion].

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187c21e0b42-36779761-2a62-45b4-b577-d2152cb732c9-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-27 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sarah
 |  Boyce
 Type:  Bug  |   Status:  assigned
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language,   |
  i18n_patterns  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by ab):

 Just to keep track of the current work on this issue, there is a
 discussion about how django should behave here:
 https://github.com/django/django/pull/16797#issuecomment-1524958085

 As suggested by Sarah, I'll post to django-developers for a wider range of
 opinions.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187c1dae3a9-51042bb4-d7ea-47dc-a8a9-2f30605f11bf-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-26 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sarah
 |  Boyce
 Type:  Bug  |   Status:  assigned
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language,   |
  i18n_patterns  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by ab):

 @sarah: I'll test your patch because your edits might solve the problem
 with HTTP headers too. Thanks!

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187bc833495-d5974b3e-5da8-43dd-aaae-f610fd18d2cb-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-26 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sarah
 |  Boyce
 Type:  Bug  |   Status:  assigned
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language,   |
  i18n_patterns  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by ab):

 * keywords:  internationalization, i18n, prefix_default_language =>
 internationalization, i18n, prefix_default_language, i18n_patterns


Comment:

 @Sarah: yes, it is the same problem. After investigating the code, the
 change in behavior is linked to the fact that `get_language_from_path`
 returns `None` when the url is not prefixed. So, the cookie is used (or
 the `Accept-Language` header sent by the browser).

 @David: thanks for your contribution, but I do not fully agree. If
 `prefix_default_url` is `True`, the language is correctly detected by
 django based on the URL. If I set `prefix_default_url` to `False` I expect
 the same behavior for the default language without prefix. When I decide
 do use `i18n_patterns` at least (I have just added this tag to the
 ticket).
 When `i18n_patterns`is not used, I agree with you.

 So the problem might come from i18n_patterns not calling/handling
 correctly the calls to the new `get_language_*` functions.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187bc7c28f1-f42c1368-9287-41e7-a30c-a16f5b3c3dc6-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-26 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sarah
 |  Boyce
 Type:  Bug  |   Status:  assigned
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by David Sanders):

 >I agree it still globally works that way, nevertheless, in the case I
 describe, when django looks for the language prefix in the requested URL
 and there is not language prefix, I would expect django to return "fr",
 not to go to the next steps of the algorithm. Because I want
 prefix_default_language = False to take precedence on cookies or headers.
 Does it make sense?

 My 2¢: Is ignoring the process for determining the language the least
 surprising choice here though?  It all depends on whether no-prefix URL
 should refer to a user setting or the site's default language. I mean imho
 navigating to a URL I might expect it to show the language in what I chose
 路‍♂️

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187bc47561f-90619a37-ed74-4ea1-865c-279ffcb7e781-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-26 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sarah
 |  Boyce
 Type:  Bug  |   Status:  assigned
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Sarah Boyce):

 * has_patch:  0 => 1


-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187bc31bb9b-ba65327f-b917-4f6e-9efd-e5ac6effe818-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-25 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sarah
 |  Boyce
 Type:  Bug  |   Status:  assigned
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Sarah Boyce):

 * owner:  Sota Tabu => Sarah Boyce


Comment:

 I have a PR with what I think the issue is, but not confident
 https://github.com/django/django/pull/16797
 @ab I think what you're saying makes sense

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187b9e5aa19-a94bb41f-6b96-41e3-8fe3-6a174a42ee34-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-25 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  Sota Tabu
 Type:  Bug  |   Status:  assigned
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Sota Tabu):

 * owner:  nobody => Sota Tabu
 * status:  new => assigned


-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187b8769d3b-27082157-b665-49c5-883e-5b48ba2018b2-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-25 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * cc: sergioisidoro (added)


-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187b7f549a6-9ee68ad5-60f5-45c3-8bc6-77de0b6e60b5-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-25 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by ab):

 Replying to [comment:4 Mariusz Felisiak]:
 >
 > IMO it still works that way. However, in Django 4.2
 `get_language_from_request()` returns the language from a request (`en`
 for me) which is activated and the default path `about/` is no longer
 translated to the `a-propos/`. This is definitely a change from the
 previous behavior.

 Thank you Mariusz for the quick reaction.

 I agree it still globally works that way, nevertheless, in the case I
 describe, when django looks for the language prefix in the requested URL
 and there is not language prefix, I would expect django to return "fr",
 not to go to the next steps of the algorithm. Because I want
 `prefix_default_language = False` to take precedence on cookies or
 headers. Does it make sense?

 I need to add that I use `translate_url` to
 [https://github.com/aboutofpluto/django-prefix-default-language-bug-
 report/blob/master/prefix/urls.py#L11 build the links] in my templates.
 Consequently, my URLs are translated in the template **only** (hence the
 404).

 So you're right about the default path not being translated anymore.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187b7db1b42-cfe738f1-d2f6-4eb6-be41-d4d38b16c9cc-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-25 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 Replying to [comment:1 ab]:
 > Expected behavior:
 [https://docs.djangoproject.com/en/4.2/topics/i18n/translation/#how-
 django-discovers-language-preference django 4.2 documentation]
 >
 > LocaleMiddleware tries to determine the user’s language preference by
 following this algorithm:
 >
 > - First, it looks for the language prefix in the requested URL. This is
 only performed when you are using the i18n_patterns function in your root
 URLconf. See Internationalization: in URL patterns for more information
 about the language prefix and how to internationalize URL patterns.
 >
 > - Failing that, it looks for a cookie. The name of the cookie used is
 set by the LANGUAGE_COOKIE_NAME setting. (The default name is
 django_language.)
 >
 > - Failing that, it looks at the Accept-Language HTTP header. This header
 is sent by your browser and tells the server which language(s) you prefer,
 in order by priority. Django tries each language in the header until it
 finds one with available translations.
 >
 > - Failing that, it uses the global LANGUAGE_CODE setting.

 IMO it still works that way. However, in Django 4.2
 `get_language_from_request()` returns the language from a request (`en`
 for me) which is activated and the default path `about/` is no longer
 translated to the `a-propos/`. This is definitely a change from the
 previous behavior.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187b7aec77d-7490dd3e-2e84-4bcb-b11f-aad4e5de00bf-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used.

2023-04-25 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * cc: Mariusz Felisiak (removed)


-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187b7a05a5a-9c9b27d1-1f8a-42ea-ae49-a0fb798bffe5-00%40eu-central-1.amazonses.com.


Re: [Django] #34515: Translatable URL patterns raise 404 for non-English default language when prefix_default_language=False is used. (was: prefix_default_language=False raises HTTP 404 for default la

2023-04-25 Thread Django
#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-+-
 Reporter:  ab   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:   |  Version:  4.2
  Internationalization   |
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
  internationalization, i18n,|
  prefix_default_language|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * cc: Mariusz, Felisiak, Sarah, Boyce (removed)
 * cc: Mariusz Felisiak, Sarah Boyce, Claude Paroz (added)
 * component:  Core (Other) => Internationalization
 * severity:  Normal => Release blocker
 * stage:  Unreviewed => Accepted


Comment:

 Thanks for the report. The use of URL patterns marked as translatable is
 crucial for this bug.

 Regression in 94e7f471c4edef845a4fe5e3160132997b4cca81.
 Reproduced at c24cd6575f948661fa0ed8b27b79098610dc3ccc.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187b7a017e0-a40624ee-24b6-4d8d-a438-df43418502f8-00%40eu-central-1.amazonses.com.