Skip to content

Releases: wagtail/wagtailtrans

0.1.3

21 Apr 11:19
Compare
Choose a tag to compare
  • Add include_self=False kwarg to TranslatablePage.get_translations() to have the page return itself as well
  • Add language selector template tags
  • Update Language management to make use of wagtail.contrib.modeladmin

0.1.2

15 Mar 13:36
Compare
Choose a tag to compare
  • Add new wagtailtrans logo.
  • Add admin view for translating with WAGTAILTRANS_SYNC_TREE = False, prevents issues with not having a _meta on the TranslationForm.
  • Update TranslationMiddleware to also use the Accept-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

25 Dec 10:59
Compare
Choose a tag to compare
  • Add TranslationMiddleware for earlier language activation (replaces django LocaleMiddleware)
  • Add language_id filter to wagtailtrans.models.TranslatablePage so search results can be filterd by language
  • Update documentation

0.1

14 Dec 10:43
Compare
Choose a tag to compare
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+)