Problem/Motivation
I expect that after executing Drupal 7 migrations from a (multilingual) Drupal 7 site where the default language is not English, the migrated configuration entities and content entities have the appropriate language code. But this is not what I got.
The biggest issue is that a config (or content) entity with language: en will contain non-english words (so you cannot translate them to English if you want to do it later).
On the other hand, having default configs with mixed language is a maintenance/development nightmare.
Steps to reproduce
Try to migrate a Drupal 7 instance with a default language other than English.
Proposed resolution
Migrations with config or content entity destination should depend on "default_language" migration (as an optional dependency).
Comments
Comment #2
huzookaComment #3
wim leersCan you update the issue summary to show the concrete error messages you're encountering? 🙏
Comment #5
wim leersNow that #3189463: all translation/localization migrations should depend on the 'language' migration landed, this is likely almost always implicitly already the case.
This issue would make that dependency explicit, so probably still worth doing. But probably no longer ? 🤔
Comment #9
kristen polAs part of the Bug Smash Initiative, we are triaging issues that are marked "Postponed (maintainer needs more info)". This issue was marked "Postponed (maintainer needs more info)" almost a year and a half ago and there has been no activity here since that time.
Per #5, bumping down to normal. Also tagging for more explicit steps to reproduce including the error message per #5.
Since we need more information to move forward with this issue, I am keeping the status at Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #11
kristen polAs part of the Bug Smash Initiative, we are triaging issues that are marked "Postponed (maintainer needs more info)". This issue was marked "Postponed (maintainer needs more info)" more than 2 years ago.
Since there was no additional information provided since it was requested last year, I'm marking the issue "Closed (cannot reproduce)". If anyone can provide complete steps to reproduce the issue (starting from "Install Drupal core"), document those steps in the issue summary and set the issue status back to "Active" [or "Needs Work" if it has a patch, etc.].
Thanks!
Comment #12
quietone commentedI am not so sure about closing this. The Issue Summary makes sense and core does not test with a site that has a default language other than English. And if the result is a site where you can translate content, that is a problem.
I would like to find time to test this. Assigning to myself.
Comment #13
quietone commentedI did some limited testing on this with a D7 site, installed in Italian with a translated node and translated config (content type). After migrating I didn't have any error messages or trouble translating the content. But again, my testing and source was limited.
I do to agree with @Wim Leers and @Kristen Pol that steps to reproduce are needed here. And sample database would help as well. However, since it has been 3 years since the first request for more information, and none has been supplied, I am changing the status as per #11.
Comment #14
quietone commented