Django

Code

Ticket #7061: i18n-doc-requestcontext-languages.2.diff

File i18n-doc-requestcontext-languages.2.diff, 0.8 kB (added by akaihola, 5 months ago)

corrected correction to i18n documentation

  • /home/akaihola/dl/prg/www/django/docs/i18n.txt

    old new  
    266266Each ``RequestContext`` has access to three translation-specific variables: 
    267267 
    268268    * ``LANGUAGES`` is a list of tuples in which the first element is the 
    269       language code and the second is the language name (in that language). 
     269      language code and the second is the language name (in the current user's 
     270      preferred language). 
    270271    * ``LANGUAGE_CODE`` is the current user's preferred language, as a string. 
    271272      Example: ``en-us``. (See "How language preference is discovered", below.) 
    272273    * ``LANGUAGE_BIDI`` is the current language's direction. If True, it's a