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.

Members fund testing for the Drupal project. Drupal Association Learn more


MartijnBraam created an issue. See original summary.

helmo’s picture

Version: 7.x-4.x-dev » 7.x-3.x-dev
Component: Install process » Hosting Drupal 8 sites
Status: Active » Needs review
442 bytes

Looking 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.

helmo’s picture

Status: Needs review » Needs work

That does not seem to work :( ... patches welcome.

josebc’s picture

Status: Needs work » Needs review
1.04 KB

Issue 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

  • helmo committed 3580bfe on 7.x-3.x authored by josebc
    Issue #2884608 by helmo, josebc, MartijnBraam: Site language not set...
helmo’s picture

Status: Needs review » Fixed

Thanks, just tested and this works.


Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.