Refs #1660 -- Doc'd the LANGUAGES_BIDI setting.

This commit is contained in:
Nick Pope 2019-03-07 22:24:46 +00:00 committed by Mariusz Felisiak
parent 5a92bb0725
commit 07daa487ae
1 changed files with 20 additions and 0 deletions

View File

@ -1836,6 +1836,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``
@ -3396,6 +3415,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`