mirror of https://github.com/django/django.git
Added Uyghur language.
This commit is contained in:
parent
59f4754704
commit
d25f389211
|
@ -141,6 +141,7 @@ LANGUAGES = [
|
||||||
("tr", gettext_noop("Turkish")),
|
("tr", gettext_noop("Turkish")),
|
||||||
("tt", gettext_noop("Tatar")),
|
("tt", gettext_noop("Tatar")),
|
||||||
("udm", gettext_noop("Udmurt")),
|
("udm", gettext_noop("Udmurt")),
|
||||||
|
("ug", gettext_noop("Uyghur")),
|
||||||
("uk", gettext_noop("Ukrainian")),
|
("uk", gettext_noop("Ukrainian")),
|
||||||
("ur", gettext_noop("Urdu")),
|
("ur", gettext_noop("Urdu")),
|
||||||
("uz", gettext_noop("Uzbek")),
|
("uz", gettext_noop("Uzbek")),
|
||||||
|
@ -150,7 +151,7 @@ LANGUAGES = [
|
||||||
]
|
]
|
||||||
|
|
||||||
# Languages using BiDi (right-to-left) layout
|
# Languages using BiDi (right-to-left) layout
|
||||||
LANGUAGES_BIDI = ["he", "ar", "ar-dz", "ckb", "fa", "ur"]
|
LANGUAGES_BIDI = ["he", "ar", "ar-dz", "ckb", "fa", "ug", "ur"]
|
||||||
|
|
||||||
# If you set this to False, Django will make some optimizations so as not
|
# If you set this to False, Django will make some optimizations so as not
|
||||||
# to load the internationalization machinery.
|
# to load the internationalization machinery.
|
||||||
|
|
|
@ -566,6 +566,12 @@ LANG_INFO = {
|
||||||
"name": "Udmurt",
|
"name": "Udmurt",
|
||||||
"name_local": "Удмурт",
|
"name_local": "Удмурт",
|
||||||
},
|
},
|
||||||
|
"ug": {
|
||||||
|
"bidi": True,
|
||||||
|
"code": "ug",
|
||||||
|
"name": "Uyghur",
|
||||||
|
"name_local": "ئۇيغۇرچە",
|
||||||
|
},
|
||||||
"uk": {
|
"uk": {
|
||||||
"bidi": False,
|
"bidi": False,
|
||||||
"code": "uk",
|
"code": "uk",
|
||||||
|
|
|
@ -382,6 +382,10 @@ msgstr ""
|
||||||
msgid "Udmurt"
|
msgid "Udmurt"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: conf/global_settings.py:148
|
||||||
|
msgid "Uyghur"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: conf/global_settings.py:149
|
#: conf/global_settings.py:149
|
||||||
msgid "Ukrainian"
|
msgid "Ukrainian"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
# This file is distributed under the same license as the Django package.
|
||||||
|
#
|
||||||
|
# The *_FORMAT strings use the Django date format syntax,
|
||||||
|
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
|
||||||
|
DATE_FORMAT = "j F Y"
|
||||||
|
TIME_FORMAT = "G:i"
|
||||||
|
YEAR_MONTH_FORMAT = "F Y"
|
||||||
|
MONTH_DAY_FORMAT = "j F"
|
||||||
|
SHORT_DATE_FORMAT = "Y/m/d"
|
||||||
|
SHORT_DATETIME_FORMAT = "Y/m/d G:i"
|
||||||
|
FIRST_DAY_OF_WEEK = 1
|
||||||
|
DECIMAL_SEPARATOR = "."
|
||||||
|
THOUSAND_SEPARATOR = ","
|
||||||
|
NUMBER_GROUPING = 3
|
|
@ -326,7 +326,7 @@ Generic Views
|
||||||
Internationalization
|
Internationalization
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
* ...
|
* Added support and translations for the Uyghur language.
|
||||||
|
|
||||||
Logging
|
Logging
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
|
|
@ -587,6 +587,7 @@ util
|
||||||
utils
|
utils
|
||||||
Uvicorn
|
Uvicorn
|
||||||
uWSGI
|
uWSGI
|
||||||
|
Uyghur
|
||||||
validator
|
validator
|
||||||
validators
|
validators
|
||||||
variadic
|
variadic
|
||||||
|
|
Loading…
Reference in New Issue