diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 42296f65c9..734381e2b8 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -86,6 +86,7 @@ Django's system checks are organized using the following tags: * ``staticfiles``: Checks :mod:`django.contrib.staticfiles` configuration. * ``templates``: Checks template related configuration. * ``urls``: Checks URL configuration. +* ``translation``: Checks language formats used for translation. Some checks may be registered with multiple tags. @@ -449,6 +450,18 @@ The following checks are performed on your URL configuration: * **urls.E006**: The :setting:`MEDIA_URL`/ :setting:`STATIC_URL` setting must end with a slash. +Translation +----------- + +The following checks are performed on your translation configuration: + +* **translation.E001**: LANGUAGE_CODE in settings.py is ``<language_code>``. + It should be in the form ll or ll-cc where ll is the language and cc is the + country. Examples include: ``it``, ``de-at``, ``es``, ``pt-br``. The full + set of language codes specifications is outlined by + https://en.wikipedia.org/wiki/IETF_language_tag#Syntax_of_language_tags + + ``contrib`` app checks ====================== |
