wagtail / wagtail-localize

Translation plugin for Wagtail CMS
https://wagtail-localize.org/
Other
216 stars 83 forks source link

feature request: bulk sync + publish and sync action #789

Open onno-timmerman opened 4 months ago

onno-timmerman commented 4 months ago

Imagine you adapt a bunch of articles 20 by cleaning up SEO and some titles. Then you need to sync one by one all these articles. That is a cumbursome task.

Would it be possbile to have a option besides publish that would be publish and sync translations

As bonus it would be ideal if the sync translations also do the machine translation in one time. It would be a huge timesaver

zerolab commented 4 months ago

Hey @onno-timmerman,

This is a sensible suggestion. I see two parts to this:

  1. Register a page action via register_page_action_menu_item that checks that the user can publish and that they can sync. And a snippet action via construct_snippet_action_menu
  2. Register a bulk action via register_bulk_action for bulk actions

For machine translation: #786 would take care of part of the flow, so we would need to hook build on that.