diff --git a/core/modules/views/config/views.view.archive.yml b/core/modules/views/config/views.view.archive.yml index c30016d..660e4d1 100644 --- a/core/modules/views/config/views.view.archive.yml +++ b/core/modules/views/config/views.view.archive.yml @@ -1,3 +1,4 @@ +langcode: en status: '0' module: node id: archive diff --git a/core/modules/views/config/views.view.backlinks.yml b/core/modules/views/config/views.view.backlinks.yml index a2372a9..08fbe95 100644 --- a/core/modules/views/config/views.view.backlinks.yml +++ b/core/modules/views/config/views.view.backlinks.yml @@ -1,3 +1,4 @@ +langcode: en status: '0' module: search id: backlinks diff --git a/core/modules/views/config/views.view.comments_recent.yml b/core/modules/views/config/views.view.comments_recent.yml index 2a5286d..f71d671 100644 --- a/core/modules/views/config/views.view.comments_recent.yml +++ b/core/modules/views/config/views.view.comments_recent.yml @@ -1,3 +1,4 @@ +langcode: en status: '0' module: comment id: comments_recent diff --git a/core/modules/views/config/views.view.frontpage.yml b/core/modules/views/config/views.view.frontpage.yml index 638387c..121bd2f 100644 --- a/core/modules/views/config/views.view.frontpage.yml +++ b/core/modules/views/config/views.view.frontpage.yml @@ -1,3 +1,4 @@ +langcode: en status: '0' module: node id: frontpage diff --git a/core/modules/views/config/views.view.glossary.yml b/core/modules/views/config/views.view.glossary.yml index 071ba33..82f5c65 100644 --- a/core/modules/views/config/views.view.glossary.yml +++ b/core/modules/views/config/views.view.glossary.yml @@ -1,3 +1,4 @@ +langcode: en status: '0' module: node id: glossary diff --git a/core/modules/views/config/views.view.taxonomy_term.yml b/core/modules/views/config/views.view.taxonomy_term.yml index 652a6c0..0cfeff2 100644 --- a/core/modules/views/config/views.view.taxonomy_term.yml +++ b/core/modules/views/config/views.view.taxonomy_term.yml @@ -1,3 +1,4 @@ +langcode: en status: '0' module: taxonomy id: taxonomy_term diff --git a/core/modules/views/config/views.view.tracker.yml b/core/modules/views/config/views.view.tracker.yml index 79b7d66..eb37ba7 100644 --- a/core/modules/views/config/views.view.tracker.yml +++ b/core/modules/views/config/views.view.tracker.yml @@ -1,3 +1,4 @@ +langcode: en status: '0' module: node id: tracker diff --git a/core/modules/views/lib/Drupal/views/Plugin/Core/Entity/View.php b/core/modules/views/lib/Drupal/views/Plugin/Core/Entity/View.php index f3c02be..dafa052 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/Core/Entity/View.php +++ b/core/modules/views/lib/Drupal/views/Plugin/Core/Entity/View.php @@ -365,6 +365,7 @@ public function getExportProperties() { 'id', 'tag', 'uuid', + 'langcode', ); $properties = array(); foreach ($names as $name) { diff --git a/core/modules/views/views_ui/lib/Drupal/views_ui/Form/Ajax/EditDetails.php b/core/modules/views/views_ui/lib/Drupal/views_ui/Form/Ajax/EditDetails.php index ad9a056..d98883e 100644 --- a/core/modules/views/views_ui/lib/Drupal/views_ui/Form/Ajax/EditDetails.php +++ b/core/modules/views/views_ui/lib/Drupal/views_ui/Form/Ajax/EditDetails.php @@ -47,6 +47,12 @@ public function buildForm(array $form, array &$form_state) { '#description' => t('A descriptive human-readable name for this view. Spaces are allowed'), '#default_value' => $view->getHumanName(), ); + $form['details']['langcode'] = array( + '#type' => 'language_select', + '#title' => t('View language'), + '#description' => t('Language of labels and other textual elements in this view.'), + '#default_value' => $view->get('langcode'), + ); $form['details']['tag'] = array( '#type' => 'textfield', '#title' => t('View tag'),