Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
95fd5cf4
Kaydet (Commit)
95fd5cf4
authored
Kas 30, 2017
tarafından
Ashaba
Kaydeden (comit)
Tim Graham
Ock 24, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #28403 -- Added missing formats in FORMAT_MODULE_PATH docs.
üst
d38a3169
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
8 deletions
+22
-8
settings.txt
docs/ref/settings.txt
+18
-8
translation.txt
docs/topics/i18n/translation.txt
+4
-0
No files found.
docs/ref/settings.txt
Dosyayı görüntüle @
95fd5cf4
...
@@ -1577,8 +1577,8 @@ render API <low-level-widget-render-api>`.
...
@@ -1577,8 +1577,8 @@ render API <low-level-widget-render-api>`.
Default: ``None``
Default: ``None``
A full Python path to a Python package that contains
format definitions for
A full Python path to a Python package that contains
custom format definitions
project locales. If not ``None``, Django will check for a ``formats.py``
for
project locales. If not ``None``, Django will check for a ``formats.py``
file, under the directory named as the current locale, and will use the
file, under the directory named as the current locale, and will use the
formats defined in this file.
formats defined in this file.
...
@@ -1605,12 +1605,22 @@ paths until it finds a module that actually defines the given format. This
...
@@ -1605,12 +1605,22 @@ paths until it finds a module that actually defines the given format. This
means that formats defined in packages farther up in the list will take
means that formats defined in packages farther up in the list will take
precedence over the same formats in packages farther down.
precedence over the same formats in packages farther down.
Available formats are :setting:`DATE_FORMAT`, :setting:`TIME_FORMAT`,
Available formats are:
:setting:`DATETIME_FORMAT`, :setting:`YEAR_MONTH_FORMAT`,
:setting:`MONTH_DAY_FORMAT`, :setting:`SHORT_DATE_FORMAT`,
* :setting:`DATE_FORMAT`
:setting:`SHORT_DATETIME_FORMAT`, :setting:`FIRST_DAY_OF_WEEK`,
* :setting:`DATE_INPUT_FORMATS`
:setting:`DECIMAL_SEPARATOR`, :setting:`THOUSAND_SEPARATOR` and
* :setting:`DATETIME_FORMAT`,
:setting:`NUMBER_GROUPING`.
* :setting:`DATETIME_INPUT_FORMATS`
* :setting:`DECIMAL_SEPARATOR`
* :setting:`FIRST_DAY_OF_WEEK`
* :setting:`MONTH_DAY_FORMAT`
* :setting:`NUMBER_GROUPING`
* :setting:`SHORT_DATE_FORMAT`
* :setting:`SHORT_DATETIME_FORMAT`
* :setting:`THOUSAND_SEPARATOR`
* :setting:`TIME_FORMAT`
* :setting:`TIME_INPUT_FORMATS`
* :setting:`YEAR_MONTH_FORMAT`
.. setting:: IGNORABLE_404_URLS
.. setting:: IGNORABLE_404_URLS
...
...
docs/topics/i18n/translation.txt
Dosyayı görüntüle @
95fd5cf4
...
@@ -2076,6 +2076,10 @@ translations for the same literal:
...
@@ -2076,6 +2076,10 @@ translations for the same literal:
following a similar but not identical algorithm. See
following a similar but not identical algorithm. See
:class:`.JavaScriptCatalog` for more details.
:class:`.JavaScriptCatalog` for more details.
You can also put :ref:`custom format files <custom-format-files>` in the
:setting:`LOCALE_PATHS` directories if you also set
:setting:`FORMAT_MODULE_PATH`.
In all cases the name of the directory containing the translation is expected to
In all cases the name of the directory containing the translation is expected to
be named using :term:`locale name` notation. E.g. ``de``, ``pt_BR``, ``es_AR``,
be named using :term:`locale name` notation. E.g. ``de``, ``pt_BR``, ``es_AR``,
etc.
etc.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment