diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/settings.txt | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index ffc6d4b659..f7705949fd 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -610,8 +610,8 @@ LANGUAGE_CODE Default: ``'en-us'`` A string representing the language code for this installation. This should be in -standard language format. For example, U.S. English is ``"en-us"``. See -:ref:`topics-i18n`. +standard :term:`language format<language code>`. For example, U.S. English is +``"en-us"``. See :ref:`topics-i18n`. .. setting:: LANGUAGE_COOKIE_NAME @@ -638,9 +638,11 @@ see the current list of translated languages by looking in .. _online source: http://code.djangoproject.com/browser/django/trunk/django/conf/global_settings.py -The list is a tuple of two-tuples in the format (language code, language -name) -- for example, ``('ja', 'Japanese')``. This specifies which languages -are available for language selection. See :ref:`topics-i18n`. +The list is a tuple of two-tuples in the format ``(language code, language +name)``, the ``language code`` part should be a +:term:`language name<language code>` -- for example, ``('ja', 'Japanese')``. +This specifies which languages are available for language selection. See +:ref:`topics-i18n`. 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. @@ -675,7 +677,7 @@ LOCALE_PATHS Default: ``()`` (Empty tuple) A tuple of directories where Django looks for translation files. -See :ref:`translations-in-your-own-projects`. +See :ref:`using-translations-in-your-own-projects`. .. setting:: LOGIN_REDIRECT_URL |
