โšก๏ธ Live updates comments, jobs, and issues, tagged with #multilanguage will update issues and activities on this page.

Issues

The last 100 updated issues.

Activities

The last 7 days of comments and CI jobs.

  • Hi everybody,

    I think I found the reason for this strange error: #3126351: A translation already exists for the specified language
    This is what I do: I import nodes from an old Drupal 7 site with 3 languages: default Enlish and Dutch and French as secondary and third language.
    I use separate feeds to import each language..
    In each feed I provide the langcode mapped from the language of the translation.
    In each feed I provide the tranlation_id which I gave the same language as the language of the translation. (tranlation_id is the id that grouped the translations in the old Drupal 7 site.)
    After importing the first language the node table gets a line extra for each imported node

    Langcode is the default language of that node.
    When I import the second language this langcode first is overwritten by the language in the mapping and you get: (fr in this case)

    Further up in the code the processor tries to create the second language but then discovers that fr already exists as the default language and stops with the message A translation already exists for the specified language

    When I remove the langcode mapping in the second feed, the import works like charm!

    Kind regards and thanks for this marvelous module.

    Erwin

Production build 0.71.5 2024