Files
mayan-edms/mayan/apps/documents
Roberto Rosario fd1f5d1dad Make document language choices a configurable list. Issue #137.
To override the default list of 600+ languages add a configuration entry to your settings/local.py like so:
DOCUMENTS_LANGUAGE_CHOICES = [('eng', 'English'), ('deu', 'German')]

to make the list translatable import ugettext_lazy and enclose the language name with _():

from django.utils.translation import ugettext_lazy as _
DOCUMENTS_LANGUAGE_CHOICES = [('eng', _('English')), ('deu', _('German'))]
2015-01-14 02:22:47 -04:00
..
2014-10-30 02:45:15 -04:00
2014-10-29 05:53:16 -04:00
2015-01-08 01:09:21 -04:00
2014-10-08 19:39:16 -04:00