mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed #24063 -- Allowed locale variants supported by gettext.
The locale code can contain a variant after @, so allowed that.
This commit is contained in:
parent
9d6914da66
commit
76d26d8922
3 changed files with 18 additions and 2 deletions
|
@ -162,6 +162,10 @@ Internationalization
|
|||
* The :func:`django.utils.timezone.make_aware` function gained an ``is_dst``
|
||||
argument to help resolve ambiguous times during DST transitions.
|
||||
|
||||
* You can now use locale variants supported by gettext. These are usually used
|
||||
for languages which can be written in different scripts, for example Latin
|
||||
and Cyrillic (e.g. ``be@latin``).
|
||||
|
||||
Management Commands
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue