diff options
| author | Matthias Kestenholz <mk@feinheit.ch> | 2019-04-17 08:41:54 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-24 10:54:03 +0200 |
| commit | 80482e924953ec0e2484a9cb0f44bd5eeea93856 (patch) | |
| tree | e67c117ea5fb9206cd0dc92c55a9a58d95ca5389 /docs | |
| parent | 0c916255eb4d94e06e123fafec93efdba45b1259 (diff) | |
Fixes #30342 -- Removed a system check for LANGUAGES_BIDI setting.
This partly reverts commit 4400d8296d268f5a8523cd02ddc33b12219b2535.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 3 | ||||
| -rw-r--r-- | docs/ref/settings.txt | 8 |
2 files changed, 5 insertions, 6 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 84b126bf5f..2944ad7544 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -448,9 +448,6 @@ The following checks are performed on your translation configuration: * **translation.E004**: You have provided a value for the :setting:`LANGUAGE_CODE` setting that is not in the :setting:`LANGUAGES` setting. -* **translation.E005**: You have provided values in the - :setting:`LANGUAGES_BIDI` setting that are not in the :setting:`LANGUAGES` - setting. URLs ---- diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index ae7436696e..b6b6f20afe 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1879,15 +1879,17 @@ Here's a sample settings file:: ``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 :source:`django/conf/global_settings.py`. +Default: A list of all language codes that are written right-to-left. You can +see the current list of these languages by looking in +:source:`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. +If you define a custom :setting:`LANGUAGES` setting, the list of bidirectional +languages may contain language codes which are not enabled on a given site. .. setting:: LOCALE_PATHS |
