Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Follow-up to #2225775: Migrate Drupal 6 core node translation to Drupal 8.
Uploads need to be provide the langcode so that they can be assigned to the right language.
Means that the upload fields need to be marked translatable I suppose if that's not the case yet.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#15 | 2768823-15.patch | 6.08 KB | jofitz |
#12 | 2768823-12-complete.patch | 6.11 KB | jofitz |
#12 | 2768823-12-test_only.patch | 4.73 KB | jofitz |
#11 | 2768823-11.patch | 1.38 KB | jofitz |
#7 | 2768823-7.patch | 1.38 KB | jofitz |
Comments
Comment #2
BerdirNot sure if this is going to work.
Comment #6
mikeryanComment #7
jofitz CreditAttribution: jofitz at ComputerMinds commentedNow able to handle nodes without langcode.
Comment #8
mikeryanComment #9
quietone CreditAttribution: quietone as a volunteer commentedCertainly needs tests and a migration for the upload multilingual variables.
There are no translations for those variables in the d6_dump, so they need to be added. Using the UI they can be added at admin/settings/uploads. And to view the existing variable translations goto admin/settings/language/i18n/variables.
Comment #11
jofitz CreditAttribution: jofitz at ComputerMinds commentedPatch in #7 no longer applies. Re-rolled.
Comment #12
jofitz CreditAttribution: jofitz at ComputerMinds commentedAdded tests. No interdiff, because the only changes are in the test_only patch.
Comment #14
maxocub CreditAttribution: maxocub as a volunteer commentedThe patch no longer applies against 8.5.x.
Comment #15
jofitz CreditAttribution: jofitz at ComputerMinds commentedRe-rolled for 8.5.x.
Comment #17
maxocub CreditAttribution: maxocub as a volunteer commentedThis looks good, thank you @Jo Fitzgerald!
Comment #20
catchCommitted/pushed to 8.6.x and cherry-picked to 8.5.x. Thanks!