Problem/Motivation

The installer removes English language during installation, if English as interface language during translation. Its not possible for install profile to ship with english as enabled language.

Proposed resolution

Add a new key to the installation profile info file.

Remaining tasks

User interface changes

API changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

webflo’s picture

webflo’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 1: keep-english-installer-2345969.patch, failed testing.

Désiré’s picture

The most parts of this patch is already committed, can you submit a new one with the actual changes?

webflo’s picture

Status: Needs work » Needs review
FileSize
2.63 KB

Rerolled and fixed the failing test.

Status: Needs review » Needs work

The last submitted patch, 5: keep-english-installer-2345969-5.patch, failed testing.

webflo’s picture

I forgot to include testing_multilingual.info.yml in the previous patch.

webflo’s picture

Status: Needs work » Needs review
webflo’s picture

Issue tags: +sprint

Status: Needs review » Needs work

The last submitted patch, 7: keep-english-installer-2345969-7.patch, failed testing.

webflo’s picture

Status: Needs work » Needs review
webflo’s picture

mauzeh’s picture

* Added failing test.
* Small change to inline doc.
* Tested this in the GUI.
* Coding standard looks good.

This is something we should document, for instance at https://www.drupal.org/node/2210443 ("How to Write a Drupal 8 Installation Profile"). Will keep an eye on this issue and update the page when it is committed.

The last submitted patch, 14: keep-english-installer-2345969-14-SHOULD-FAIL.patch, failed testing.

Lendude’s picture

Status: Needs review » Reviewed & tested by the community

Rechecked with @mauzeh, looks good.

mauzeh’s picture

FileSize
852 bytes

Whoops forgot the interdiff.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 14: keep-english-installer-2345969-14.patch, failed testing.

The last submitted patch, 14: keep-english-installer-2345969-14-SHOULD-FAIL.patch, failed testing.

garphy’s picture

Status: Needs work » Reviewed & tested by the community

Tested it by adding keep_english in standard profile and it worked as it should.
I installed Drupal in French, and English was still there at the end.

I think it can be RTBC. Testbot is not happy because of the SHOULD-FAIL patch but the real patch is green.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 14: keep-english-installer-2345969-14.patch, failed testing.

webflo’s picture

Status: Needs work » Reviewed & tested by the community

Back to RTBC. The patch in #14 is green and war already RTBCed in #16

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 44ad6d7 and pushed to 8.0.x. Thanks!

  • alexpott committed 44ad6d7 on 8.0.x
    Issue #2345969 by webflo, mauzeh: Fixed Keep English during installation...
Gábor Hojtsy’s picture

Issue tags: -sprint +language-base

Superb, thanks!

Status: Fixed » Closed (fixed)

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