Django

Code

Changeset 5129

Show
Ignore:
Timestamp:
04/30/07 21:13:34 (2 years ago)
Author:
mtredinnick
Message:

Fixed #4188 -- Removed the explicit list of default LANGUAGES setting values,
because it will keep getting out of date. Replaced it with a pointer to the
source of the that list.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/settings.txt

    r5115 r5129  
    501501--------- 
    502502 
    503 Default: A tuple of all available languages. Currently, this is:: 
    504  
    505     LANGUAGES = ( 
    506         ('ar', _('Arabic')), 
    507         ('bn', _('Bengali')), 
    508         ('cs', _('Czech')), 
    509         ('cy', _('Welsh')), 
    510         ('da', _('Danish')), 
    511         ('de', _('German')), 
    512         ('el', _('Greek')), 
    513         ('en', _('English')), 
    514         ('es', _('Spanish')), 
    515         ('es_AR', _('Argentinean Spanish')), 
    516         ('fr', _('French')), 
    517         ('gl', _('Galician')), 
    518         ('hu', _('Hungarian')), 
    519         ('he', _('Hebrew')), 
    520         ('is', _('Icelandic')), 
    521         ('it', _('Italian')), 
    522         ('ja', _('Japanese')), 
    523         ('nl', _('Dutch')), 
    524         ('no', _('Norwegian')), 
    525         ('pt-br', _('Brazilian')), 
    526         ('ro', _('Romanian')), 
    527         ('ru', _('Russian')), 
    528         ('sk', _('Slovak')), 
    529         ('sl', _('Slovenian')), 
    530         ('sr', _('Serbian')), 
    531         ('sv', _('Swedish')), 
    532         ('ta', _('Tamil')), 
    533         ('uk', _('Ukrainian')), 
    534         ('zh-cn', _('Simplified Chinese')), 
    535         ('zh-tw', _('Traditional Chinese')), 
    536     ) 
    537  
    538 A tuple of two-tuples in the format (language code, language name). This 
    539 specifies which languages are available for language selection. See the 
    540 `internationalization docs`_ for details. 
     503Default: A tuple of all available languages. This list is continually growing 
     504and including a copy here would inevitably become rapidly out of date. You can 
     505see the current list of translated languages by looking in 
     506``django/conf/global_settings.py`` (or view the `online source`_). 
     507 
     508.. _online source: http://code.djangoproject.com/browser/django/trunk/django/conf/global_settings.py 
     509 
     510The list is a tuple of two-tuples in the format (language code, language 
     511name) -- for example, ``('ja', 'Japanese')``. This specifies which languages 
     512are available for language selection. See the `internationalization docs`_ for 
     513details. 
    541514 
    542515Generally, the default value should suffice. Only set this setting if you want