diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-11-13 00:19:16 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-11-13 00:19:16 +0000 |
| commit | f7d2e9ea9f0d9bba38553f21cfe3f1a821916374 (patch) | |
| tree | cb26711e0775ed41cb60b12269eadb0c738b90ab /docs/settings.txt | |
| parent | f3319e45e4aaceb9caaa5c5fe2a96fc6eac39884 (diff) | |
Grammar cleanups for recent documentation and docstring changes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/settings.txt')
| -rw-r--r-- | docs/settings.txt | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/docs/settings.txt b/docs/settings.txt index d2f6ffcdb5..fbce44807a 100644 --- a/docs/settings.txt +++ b/docs/settings.txt @@ -403,12 +403,33 @@ in standard language format. For example, U.S. English is ``"en-us"``. See the LANGUAGES --------- -Default: a list of available languages and their name +Default: A tuple of all available languages. Currently, this is:: -This is a list of two-tuples with language code and language name that are available -for language selection. See the `internationalization docs`_ for details. It usually -isn't defined, only if you want to restrict language selection to a subset of the -django-provided languages you need to set it. + LANGUAGES = ( + ('bn', _('Bengali')), + ('cs', _('Czech')), + ('cy', _('Welsh')), + ('de', _('German')), + ('en', _('English')), + ('es', _('Spanish')), + ('fr', _('French')), + ('gl', _('Galician')), + ('it', _('Italian')), + ('no', _('Norwegian')), + ('pt-br', _('Brazilian')), + ('ro', _('Romanian')), + ('ru', _('Russian')), + ('sk', _('Slovak')), + ('sr', _('Serbian')), + ('zh-cn', _('Simplified Chinese')), + ) + +A tuple of two-tuples in the format (language code, language name). This +specifies which languages are available for language selection. See the +`internationalization docs`_ for details. + +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. MANAGERS -------- |
