SettingsΒΆ
The following settings can be overridden in your project’s settings.py:
DBGETTEXT_PATH: path (absolute or relative to project root) where dbgettext_export should store its output. Defaults tolocale.DBGETTEXT_ROOT: name of directory withinDBGETTEXT_PATH(redundancy to provide protection from auto-purging upon export). Defaults todbgettext.DBGETTEXT_REGISTRATION_MODULE_NAME: name of modules within apps for registration. Defaults todbgettext_registrationDBGETTEXT_PROJECT_OPTIONS: dotted path to python module containing project-level registration code (e.g.my_project.dbgettext_optionsif you have adbgettext_options.pyfile in yourmy_projectdirectory).DBGETTEXT_INLINE_HTML_TAGS: tuple of tag names allowed to appear inline within strings parsed withdbgettext.lexicons.html. Defaults to('b','i','u','em','strong',).DBGETTEXT_SPLIT_SENTENCES: split chunks of text into separate sentences for translation where appropriate. Defaults toTrue.DBGETTEXT_SENTENCE_RE: compiled regular expression for splitting sentences. Defaults tore.compile(r'^(.*?\S[\!\?\.])(\s+)(\S+.*)$', re.DOTALL).