Add documentation chapter on document languages.

This commit is contained in:
Roberto Rosario
2016-05-17 04:07:03 -04:00
parent 27aae995f0
commit 0bebef5ba9
2 changed files with 20 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ Introductions to all the key parts of Mayan EDMS you'll need to know:
signatures
ocr_backend
indexes
languages
smart_links
tags
mailing

19
docs/topics/languages.rst Normal file
View File

@@ -0,0 +1,19 @@
=========
Languages
=========
The list of languages choices in the language dropdown used for documents is
based on the current ISO 639 list. This list can be quite extensive. To reduce
the number of languages available use the settings ``DOCUMENTS_LANGUAGE_CHOICES``,
and set it to a nested list of abbreviations + languages names like::
DOCUMENTS_LANGUAGE_CHOICES = (('eng', 'English'), ('spa', 'Spanish'))
The default language to appear on the dropdown can also be configured using::
DOCUMENTS_LANGUAGE = 'spa'
Use the correct ISO 639-3 language abbreviation (https://en.wikipedia.org/wiki/ISO_639)
as this code is used in several subsystems in Mayan EDMS such as the OCR app
to determine how to interpret the document.