mirror of https://github.com/django/django.git
Added Central Kurdish (Sorani) language.
This commit is contained in:
parent
de6c9c7054
commit
08303f4f06
|
@ -65,6 +65,7 @@ LANGUAGES = [
|
|||
("br", gettext_noop("Breton")),
|
||||
("bs", gettext_noop("Bosnian")),
|
||||
("ca", gettext_noop("Catalan")),
|
||||
("ckb", gettext_noop("Central Kurdish (Sorani)")),
|
||||
("cs", gettext_noop("Czech")),
|
||||
("cy", gettext_noop("Welsh")),
|
||||
("da", gettext_noop("Danish")),
|
||||
|
@ -154,7 +155,7 @@ LANGUAGES = [
|
|||
]
|
||||
|
||||
# Languages using BiDi (right-to-left) layout
|
||||
LANGUAGES_BIDI = ["he", "ar", "ar-dz", "fa", "ur"]
|
||||
LANGUAGES_BIDI = ["he", "ar", "ar-dz", "ckb", "fa", "ur"]
|
||||
|
||||
# If you set this to False, Django will make some optimizations so as not
|
||||
# to load the internationalization machinery.
|
||||
|
|
|
@ -74,6 +74,12 @@ LANG_INFO = {
|
|||
"name": "Catalan",
|
||||
"name_local": "català",
|
||||
},
|
||||
"ckb": {
|
||||
"bidi": True,
|
||||
"code": "ckb",
|
||||
"name": "Central Kurdish (Sorani)",
|
||||
"name_local": "کوردی",
|
||||
},
|
||||
"cs": {
|
||||
"bidi": False,
|
||||
"code": "cs",
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
# 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"
|
||||
DATETIME_FORMAT = "j F Y، کاتژمێر G:i"
|
||||
YEAR_MONTH_FORMAT = "F Y"
|
||||
MONTH_DAY_FORMAT = "j F"
|
||||
SHORT_DATE_FORMAT = "Y/n/j"
|
||||
SHORT_DATETIME_FORMAT = "Y/n/j، G:i"
|
||||
FIRST_DAY_OF_WEEK = 6
|
||||
|
||||
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
|
||||
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
|
||||
# DATE_INPUT_FORMATS =
|
||||
# TIME_INPUT_FORMATS =
|
||||
# DATETIME_INPUT_FORMATS =
|
||||
DECIMAL_SEPARATOR = "."
|
||||
THOUSAND_SEPARATOR = ","
|
||||
# NUMBER_GROUPING =
|
|
@ -58,6 +58,10 @@ msgstr ""
|
|||
msgid "Catalan"
|
||||
msgstr ""
|
||||
|
||||
#: conf/global_settings.py:68
|
||||
msgid "Central Kurdish (Sorani)"
|
||||
msgstr ""
|
||||
|
||||
#: conf/global_settings.py:68
|
||||
msgid "Czech"
|
||||
msgstr ""
|
||||
|
|
|
@ -173,7 +173,7 @@ Generic Views
|
|||
Internationalization
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* ...
|
||||
* Added support and translations for the Central Kurdish (Sorani) language.
|
||||
|
||||
Logging
|
||||
~~~~~~~
|
||||
|
|
|
@ -460,6 +460,7 @@ sitewide
|
|||
sliceable
|
||||
SMTP
|
||||
solaris
|
||||
Sorani
|
||||
sortable
|
||||
Spectre
|
||||
Springmeyer
|
||||
|
|
Loading…
Reference in New Issue