From 07daa487aeb7d41d69d7d1cf9d4b3648e299e4ac Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Thu, 7 Mar 2019 22:24:46 +0000 Subject: [PATCH] Refs #1660 -- Doc'd the LANGUAGES_BIDI setting. --- docs/ref/settings.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 9683f2d412..1ddfc66603 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -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` 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`