[2.2.x] Refs #1660 -- Doc'd the LANGUAGES_BIDI setting.

Backport of 07daa487ae from master
This commit is contained in:
Nick Pope 2019-03-07 22:24:46 +00:00 committed by Mariusz Felisiak
parent 4a6d3f2580
commit 6ac921bab0
No known key found for this signature in database
GPG Key ID: 2EF56372BA48CD1B
1 changed files with 20 additions and 0 deletions

View File

@ -1851,6 +1851,25 @@ Here's a sample settings file::
('en', _('English')),
]
.. setting:: LANGUAGES_BIDI
``LANGUAGES_BIDI``
------------------
Default: A list of all language codes from the :setting:`LANGUAGES` setting
that are written right-to-left. You can see the current list of these languages
by looking in ``django/conf/global_settings.py`` (or view the `online
source`_).
.. _online source: https://github.com/django/django/blob/master/django/conf/global_settings.py
The list contains :term:`language codes<language code>` for languages that are
written right-to-left.
Generally, the default value should suffice. Only set this setting if you want
to restrict language selection to a subset of the Django-provided languages.
.. setting:: LOCALE_PATHS
``LOCALE_PATHS``
@ -3413,6 +3432,7 @@ Globalization (``i18n``/``l10n``)
* :setting:`LANGUAGE_COOKIE_NAME`
* :setting:`LANGUAGE_COOKIE_PATH`
* :setting:`LANGUAGES`
* :setting:`LANGUAGES_BIDI`
* :setting:`LOCALE_PATHS`
* :setting:`MONTH_DAY_FORMAT`
* :setting:`NUMBER_GROUPING`