diff --git a/core/modules/taxonomy/src/Plugin/migrate/source/d6/TermLocalizedTranslation.php b/core/modules/taxonomy/src/Plugin/migrate/source/d6/TermLocalizedTranslation.php index a91a639ce1..3153326219 100644 --- a/core/modules/taxonomy/src/Plugin/migrate/source/d6/TermLocalizedTranslation.php +++ b/core/modules/taxonomy/src/Plugin/migrate/source/d6/TermLocalizedTranslation.php @@ -46,7 +46,8 @@ public function query() { * {@inheritdoc} */ public function prepareRow(Row $row) { - $language = $row->getSourceProperty('language'); + $language = $row->getSourceProperty('ltlanguage'); + $row->setSourceProperty('language', $language); $tid = $row->getSourceProperty('tid'); // If this row has been migrated it is a duplicate then skip it. diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermLocalizedTranslationTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermLocalizedTranslationTest.php index fd4579cb2e..4c5e216163 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermLocalizedTranslationTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermLocalizedTranslationTest.php @@ -1,9 +1,9 @@