Problem/Motivation
It seems there is no Action plugin to create content translations.
There could be plenty of uses cases, where such Action is needed.
- Just testing multilingual for existing not-translated content
- Move translations to a new language - complete or partial
- The new multilingual structure needs existing/created translation
- ECA models to translate content
- Build multilingual Demos
- ETC ...
Also there could be other contrib needs that could be used in the new Drupal CMS approach / Recipes - Out of the box tools for Site/Content maintainers:
- ECA
- VBO action
- Maybe AI or AI with ECA for translations
Steps to reproduce
- "Try to create content translations with an action"
Proposed resolution
Within Content Translation module
- Translatable Action Deriver
- Configurable Action Plugin for Creating Content Translations
-- Source language - what language should be used as source for new translations
-- Target languages - the languages to create translations for.
-- Others if needed - ex. update/override if translation exists, unpublish option ... etc
- Tests
Remaining tasks
- All above
User interface changes
- No changes if the Actions are not "configured"
Introduced terminology
- Create/Add Content Translation Action
API changes
- This will not change the existing API, but uses the existing API to bring Content Translation Action.
Data model changes
--
Release notes snippet
--