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.
If I select a different language than english in aegir when creating a new site then the site will still install in english. Which is annoying since drupal cannot switch the main language correctly after installation.
Comment | File | Size | Author |
---|---|---|---|
#4 | provision-fix_language_in_site_install-2884608-4.patch | 1.04 KB | josebc |
#2 | site_language_not_set-2884608-2.patch | 442 bytes | helmo |
Comments
Comment #2
helmo CreditAttribution: helmo at Initfour websolutions commentedLooking at the D8 code it maybe as easy as this patch (untested)
PS: #2754069: API Only: Allow site nodes to specify "install_method", allowing something other than automated Drupal profile. might help as a workaround.
Comment #3
helmo CreditAttribution: helmo at Initfour websolutions commentedThat does not seem to work :( ... patches welcome.
Comment #4
josebc CreditAttribution: josebc at Vardot commentedIssue was in install_drupal not getting the correct arguments, according to d8 docs https://api.drupal.org/api/drupal/core%21includes%21install.core.inc/fun... it should receive the classloader as a first argument
Comment #6
helmo CreditAttribution: helmo at Initfour websolutions commentedThanks, just tested and this works.
Committed.