Migrate content with translations

Created on 17 April 2018, over 6 years ago
Updated 6 September 2024, 4 months ago

Is there a way to migrate Paragraphs from CSV file and also create translations for them?

I tried with the standard way, but it doesn't work:

id:
plugin: migration
source: id
migration: text_paragraphs

See #9 for a solution

πŸ’¬ Support request
Status

Closed: works as designed

Version

11.0 πŸ”₯

Component
MigrationΒ  β†’

Last updated about 13 hours ago

Created by

πŸ‡§πŸ‡¬Bulgaria yivanov

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡±Netherlands ricovandevin

    I have the same challenge in a Drupal installation without Migrate Plus so this is probably something in core. It is also not only paragraphs that are affected. For me it is a custom entity type.

    The workaround (at least it feels like that) from #9 is working for me. But IMHO it would be nice if we can extend / refactor the Migration Lookup process plugin to make it return that part of the destination IDs array that we can directly "feed" to a destination property, also in case of translations.

  • Status changed to Closed: works as designed 4 months ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    Since a solution is given in #9 this support can be closed. The solution is the correct way to get the values you need from the migration_lookup plugin.

    This was re-opened with a suggestion about changing the migration_lookup plugin. That is a discussion for a separate feature request issue. If that is what is wanted, open a new issue. Also, be are that there are several issues to improve the migration_lookup process, including a re-work, #3246666: Deprecate migrate_lookup and replace with cleaner process plugin β†’ .

    And a reminder that the Drupal Core issue queue is not the ideal place for support requests. The 'support request' option is there for filing support issues for contributed modules and themes. There are several support options listed on our support page β†’ (Community > Support at the top of Drupal.org) and there is Drupal Slack β†’ . You may get better replies in one of those places.

Production build 0.71.5 2024