Problem/Motivation

The default language in not set during installation in the container. It works through web UI but not when installed with Drush.

The web UI uses multiple requests and the container is instantiated in install_begin_request. Drush on the other hand does everything in one non-interactive request.

Proposed resolution

Set the default language explicitly in the container during installation.

Remaining tasks

User interface changes

API changes

CommentFileSizeAuthor
#1 install-default-language-2346323.patch949 byteswebflo

Comments

webflo’s picture

Status: Active » Needs review
Issue tags: +D8MI, +sprint
StatusFileSize
new949 bytes
alimac’s picture

Issue summary: View changes
tstoeckler’s picture

Status: Needs review » Reviewed & tested by the community

Just tried this out and it works beatifully.

Note that drush si locale=de runs through without errors with or without the patch. The difference is that in one case the language is actually German whereas in 8.x it's English.

RTBC!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed e01fb4e and pushed to 8.0.x. Thanks!

  • alexpott committed e01fb4e on
    Issue #2346323 by webflo: Fixed Set default language during installation...

Status: Fixed » Closed (fixed)

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

gábor hojtsy’s picture

Issue tags: -sprint +language-base

Very good catch, thanks!