--
Ticket URL: <https://code.djangoproject.com/ticket/29713>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* owner: nobody => darvid7
--
Ticket URL: <https://code.djangoproject.com/ticket/29713#comment:1>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/29713#comment:2>
* needs_better_patch: 0 => 1
* easy: 1 => 0
Comment:
If we check this, then we should respect the "specs"
(https://en.wikipedia.org/wiki/IETF_language_tag#Syntax_of_language_tags).
--
Ticket URL: <https://code.djangoproject.com/ticket/29713#comment:3>
Comment (by David):
Thanks for the feedback! I ended up using `language_code_re` in
`utils.translations.trans_real.py` that I believe meets the specs.
--
Ticket URL: <https://code.djangoproject.com/ticket/29713#comment:4>
* needs_better_patch: 1 => 0
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/29713#comment:5>
* stage: Accepted => Ready for checkin
Comment:
I left the smallest of niggles on the PR but other than that it looks good
to go. Thanks Ian, David, Claude.
--
Ticket URL: <https://code.djangoproject.com/ticket/29713#comment:6>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"5db8d617c0a5b16fabe16d1d52b2f9db519d8bb6" 5db8d617]:
{{{
#!CommitTicketReference repository=""
revision="5db8d617c0a5b16fabe16d1d52b2f9db519d8bb6"
Fixed #29713 -- Added check that LANGUAGE_CODE uses standard language id
format.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29713#comment:7>
Comment (by Nick Pope):
Follow up [https://github.com/django/django/pull/10367 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/29713#comment:8>
Comment (by Carlton Gibson <carlton.gibson@…>):
In [changeset:"570402ffd7efd529eb597d86525b80a6fbfca0e7" 570402f]:
{{{
#!CommitTicketReference repository=""
revision="570402ffd7efd529eb597d86525b80a6fbfca0e7"
Refs #29713 -- Improved error message from translation system check.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29713#comment:9>
Comment (by Nick Pope):
See #30241 for a follow up to add additional checks for language-related
settings.
--
Ticket URL: <https://code.djangoproject.com/ticket/29713#comment:10>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"d4783048efac81f73f3b8785696111547a31bcf1" d478304]:
{{{
#!CommitTicketReference repository=""
revision="d4783048efac81f73f3b8785696111547a31bcf1"
Refs #29713 -- Improved error message when LANGUAGE_CODE is invalid.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29713#comment:11>