Follow-up to #2225775: Migrate Drupal 6 core node translation to Drupal 8
Problem/Motivation
Entities that are translated need an auxiliary migration to be pulled into D8. Entities with revisions also need an auxiliary migration. These migrations are extremely similar to the base migration, with basically the same source/process/destination, and just a few changes. Currently each of them requires a nearly-identical migration template YML file.
Eg: d6_node__page will also have migrations d6_node_revision__page and d6_node_translation__page.
Proposed resolution
- Automatically create node translation migrations, based on the node migrations.
- Automatically create node revision migrations, based on the node migrations.
- Find a way to do this that can be easily applied to other entity types as well, so we don't need to redo this work for terms, users, etc.
There should be no changes to API, UI, or data model.
Comments
Comment #2
vasi CreditAttribution: vasi at Evolving Web commentedComment #3
mikeryanPostponed on #2225775: Migrate Drupal 6 core node translation to Drupal 8.
Comment #4
mikeryanComment #6
mikeryanComment #8
Gábor HojtsyDefinitely not being worked on, so removing from sprint.
Comment #12
masipila CreditAttribution: masipila as a volunteer commentedRe-parenting so that all multilingual migrations can be found from the same meta. Moved original parent to related issues.
Comment #15
quietone CreditAttribution: quietone as a volunteer commentedWith the master node migration that is being proposed in #2746541: Migrate D6 and D7 node revision translations to D8 the need for the _translation and _revision migrations can eventually be removed and this will no longer be needed.
Comment #16
Wim Leers#15: Oh, wow! So the "revision" and "translation" migrations will simply disappear?
(When using
drush migrate
commands, they will not be listed anymore?)Comment #17
quietone CreditAttribution: quietone as a volunteer commentedNow that #2746541: Migrate D6 and D7 node revision translations to D8 is committed I think this is now a won't fix.
Any objections?
Comment #18
quietone CreditAttribution: quietone as a volunteer commentedMeant to set this to NR for #17.
Comment #20
mikelutzClosing as outdated. This doesn't apply anymore.