mirror of https://github.com/django/django.git
Added Algerian Arabic language.
This commit is contained in:
parent
738e9e615d
commit
5b7450080f
|
@ -51,6 +51,7 @@ LANGUAGE_CODE = 'en-us'
|
|||
LANGUAGES = [
|
||||
('af', gettext_noop('Afrikaans')),
|
||||
('ar', gettext_noop('Arabic')),
|
||||
('ar-dz', gettext_noop('Algerian Arabic')),
|
||||
('ast', gettext_noop('Asturian')),
|
||||
('az', gettext_noop('Azerbaijani')),
|
||||
('bg', gettext_noop('Bulgarian')),
|
||||
|
@ -143,7 +144,7 @@ LANGUAGES = [
|
|||
]
|
||||
|
||||
# Languages using BiDi (right-to-left) layout
|
||||
LANGUAGES_BIDI = ["he", "ar", "fa", "ur"]
|
||||
LANGUAGES_BIDI = ["he", "ar", "ar-dz", "fa", "ur"]
|
||||
|
||||
# If you set this to False, Django will make some optimizations so as not
|
||||
# to load the internationalization machinery.
|
||||
|
|
|
@ -20,6 +20,12 @@ LANG_INFO = {
|
|||
'name': 'Arabic',
|
||||
'name_local': 'العربيّة',
|
||||
},
|
||||
'ar-dz': {
|
||||
'bidi': True,
|
||||
'code': 'ar-dz',
|
||||
'name': 'Algerian Arabic',
|
||||
'name_local': 'العربية الجزائرية',
|
||||
},
|
||||
'ast': {
|
||||
'bidi': False,
|
||||
'code': 'ast',
|
||||
|
|
|
@ -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' # 04 نوفمبر 2020
|
||||
TIME_FORMAT = 'g:i A'
|
||||
# DATETIME_FORMAT =
|
||||
YEAR_MONTH_FORMAT = 'F Y'
|
||||
MONTH_DAY_FORMAT = 'j F'
|
||||
SHORT_DATE_FORMAT = 'd/m/Y'
|
||||
# SHORT_DATETIME_FORMAT =
|
||||
FIRST_DAY_OF_WEEK = 0 # Sunday
|
||||
|
||||
# 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 = 3
|
|
@ -4,7 +4,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Django\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
|
||||
"POT-Creation-Date: 2019-12-13 09:47+0200\n"
|
||||
"PO-Revision-Date: 2010-05-13 15:35+0200\n"
|
||||
"Last-Translator: Django team\n"
|
||||
"Language-Team: English <en@li.org>\n"
|
||||
|
@ -22,6 +22,10 @@ msgstr ""
|
|||
msgid "Arabic"
|
||||
msgstr ""
|
||||
|
||||
#: conf/global_settings.py:53
|
||||
msgid "Algerian Arabic"
|
||||
msgstr ""
|
||||
|
||||
#: conf/global_settings.py:54
|
||||
msgid "Asturian"
|
||||
msgstr ""
|
||||
|
|
|
@ -181,6 +181,8 @@ Internationalization
|
|||
(string) value to explicitly state that the cookie is sent with all same-site
|
||||
and cross-site requests.
|
||||
|
||||
* Added support and translations for the Algerian Arabic language.
|
||||
|
||||
Logging
|
||||
~~~~~~~
|
||||
|
||||
|
|
Loading…
Reference in New Issue