- Make the dependency on wagtail.core.middleware.SiteMiddleware optional as it already can be removed in Wagtail 2.9
- Added official support for Wagtail 2.9 and 2.10
- Make the permission can_delete compatible with Wagtail 2.10
- Make the page method move compatible with Wagtail 2.10
- Dropped support for Wagtail versions earlier than 2.7 (LTS)
- Replace deprecated ugettext, ugettext_lazy with gettext and gettext_lazy
- Replace deprecated force_text with force_str
- Fix: Languages in a Draft state result in failed routing from browser language
- Dropped support for Wagtail versions earlier than 2.3
- Added support for Wagtail 2.8 and therefore Django 3.0
- Added missing migration
- Removed Python 2 syntax
- Add mention of wagtail.contrib.settings in the documentation
- Show languages in their local names.
- Add W504 to flake8 ignore, it's changed in a newer version of flake8
- Add env var WAGTAILTRANS_DISABLE_SIGNALS to disable many to many signal
- Add a disable_for_loaddata decorator on signals
- Add Simplified Chinese translation
- Validate default_language to not exist in other_languages
- Fix: Add "?next=" to edit url to redirect back to the right tree after edit when HIDE_TRANSLATION_TREES is enabled.
- Add a HIDE_TRANSLATION_TREES setting with an edit in [language] button
- Set cookie with language preference
- Check language cookie as fallback in the TranslationMiddleware
- Added missing database migration
- Dropped support for Python 2
- Dropped support for Wagtail versions earlier than 2.0
- Dropped support for Django versions earlier than 1.11
- Refactor .py files to line length 119
- Changed the version number to be inline with Wagtail
- Dropped support for Wagtail versions earlier than 1.12
- Custom
get_admin_display_title
method now uses Wagtailsdraft_title
- Fix: Get default language when
languages_per_site
is enabled now returns the correct default language for the site.
- Added appveyor to the CI to ensure MSSQL compatibility
- Added a settings example file to the sandbox environment to ease the contribution setup
- Added documentation on
Contributing to Wagtailtrans
- Fix: language admin view throwing an exception with
WAGTAILTRANS_LANGUAGES_PER_SITE
set toTrue
- Add support for
Wagtail 1.11
- Update language selector templatetag to work with pages without language as well
- Update language selector to order language selector based on language positions
- Add
include_self=False
kwarg toTranslatablePage.get_translations()
to have the page return itself as well- Add language selector template tags
- Update
Language
management to make use ofwagtail.contrib.modeladmin
- Update
Tox
andTravis
test matrix to includeWagtail 1.10
support
This release drops support for wagtail 1.6 and adds support for wagtail 1.8 and 1.9
- Add new
wagtailtrans
logo.- Add admin view for translating with
WAGTAILTRANS_SYNC_TREE = False
, prevents issues with not having a_meta
on theTranslationForm
.- Update
TranslationMiddleware
to also use theAccept-Language
HTTP header- Fix: Update middleware to prevent errors on empty database
- Fix: backwards compatibility with Django 1.8 for
wagtailtrans.templatetags
- Add
TranslationMiddleware
for earlier language activation (replaces djangoLocaleMiddleware
)- Add
language_id
filter towagtailtrans.models.TranslatablePage
so search results can be filtered by language- Update documentation
- Implement models following Wagtail RFC9 by Tim Heap
- Force language of child pages to language of parent
- Support storing of translated pages
- Support copying content of canonical pages when creating translations
- Add translation information to the
TranslatablePage.settings_panels
- Add dropdown page menu for adding translations
- Add Language admin-UI in settings-menu
- Add
WAGTAILTRANS_SYNC_TREE
setting to control which way trees behave- Add
WAGTAILTRANS_TEMPLATE_DIR
to override the admin template dir (pre Wagtail 1.8)- Add
WAGTAILTRANS_LANGUAGES_PER_SITE
setting to allow different page languages per site- Add SiteLanguages as SiteSetting in settings-menu (
WAGTAILTRANS_LANGUAGES_PER_SITE
)- Add
wagtailtrans.models.TranslatablePage.get_admin_display_title
to display the page language in the admin explorer (Wagtail 1.8+)