Added Central Kurdish (Sorani) language.

This commit is contained in:
Swara 2022-08-13 11:36:15 +02:00 committed by Mariusz Felisiak
parent de6c9c7054
commit 08303f4f06
7 changed files with 35 additions and 2 deletions

View File

@ -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.

View File

@ -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",

View File

View File

@ -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 =

View File

@ -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 ""

View File

@ -173,7 +173,7 @@ Generic Views
Internationalization
~~~~~~~~~~~~~~~~~~~~
* ...
* Added support and translations for the Central Kurdish (Sorani) language.
Logging
~~~~~~~

View File

@ -460,6 +460,7 @@ sitewide
sliceable
SMTP
solaris
Sorani
sortable
Spectre
Springmeyer