Ticket #24503: 0001-Correct-LANGUAGE_CODE-doc-for-django-1.7.patch

File 0001-Correct-LANGUAGE_CODE-doc-for-django-1.7.patch, 1017 bytes (added by pascal chambon, 10 years ago)
  • docs/ref/settings.txt

    From 4f17b1c5b2c5c6cad0bcfee406a792e10222a56c Mon Sep 17 00:00:00 2001
    From: Pakal <chambon.pascal@gmail.com>
    Date: Wed, 18 Mar 2015 20:48:45 +0100
    Subject: [PATCH] Correct LANGUAGE_CODE doc for django <=1.7
    
    ---
     docs/ref/settings.txt | 5 +++--
     1 file changed, 3 insertions(+), 2 deletions(-)
    
    diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
    index 171e442..295c0b6 100644
    a b It serves two purposes:  
    15411541
    15421542* If the locale middleware isn't in use, it decides which translation is served
    15431543  to all users.
    1544 * If the locale middleware is active, it provides the fallback translation when
    1545   no translation exist for a given literal to the user's preferred language.
     1544* If the locale middleware is active, it provides a fallback language, in case the
     1545  user's  preferred language can't be determined or is not supported by the
     1546  website.
    15461547
    15471548See :ref:`how-django-discovers-language-preference` for more details.
    15481549
Back to Top