From 22fa67d934f2c34443e5aebe98308d7894cdd10b Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Tue, 4 Mar 2014 13:05:44 +0000 Subject: [PATCH] Issue #2185583 by longwave, InternetDevels: Allow to select "English" language via mouse click in installer language selection screen. --- core/includes/install.core.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 6b75250d7f5..8d08d94528a 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -1627,8 +1627,10 @@ function install_select_language_form($form, &$form_state, $files = array()) { if (empty($files)) { $form['help'] = array( '#type' => 'item', - '#markup' => '

Translations will be downloaded from the Drupal Translation website. ' . - 'If you do not want this, select English.

', + '#markup' => \Drupal\Component\Utility\String::format('

Translations will be downloaded from the Drupal Translation website. + If you do not want this, select English.

', array( + '!english' => install_full_redirect_url(array('parameters' => array('langcode' => 'en'))), + )), '#states' => array( 'invisible' => array( 'select[name="langcode"]' => array('value' => 'en'),