Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.18 KB

settings.rst

File metadata and controls

46 lines (29 loc) · 1.18 KB

Settings

There are a few settings which can be used to configure wagtailtrans to suit your needs, these settings need to be configured in your django settings module. All wagtailtrans settings are prefixed with WAGTAILTRANS_ to avoid conflicts with other packages used.

WAGTAILTRANS_SYNC_TREE

Default

True

If set to False wagtailtrans will work with Freeform trees.

The documentation about synchronized_trees

The documentation about freeform_trees

WAGTAILTRANS_LANGUAGES_PER_SITE

Default

False

If set to True wagtailtrans will allow you to define a default language and additional languages per site. This is mostly used in a multi site setup and allowes you to define the languages per site, this way they can differ for all available sites.

WAGTAILTRANS_HIDE_TRANSLATION_TREES

Default

False

If set to True the CMS user will only see the tree of the canonical language, with an edit in button where they can choose the language to edit the page in.