Releases: wagtail/wagtailtrans
Releases · wagtail/wagtailtrans
0.1.3
- 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
0.1.2
- 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
0.1.1
- Add
TranslationMiddleware
for earlier language activation (replaces djangoLocaleMiddleware
) - Add
language_id
filter towagtailtrans.models.TranslatablePage
so search results can be filterd by language - Update documentation
0.1
Initial release
- 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+)