diff --git a/core/modules/language/migration_templates/d7_language_negotiation_settings.yml b/core/modules/language/migration_templates/d7_language_negotiation_settings.yml
new file mode 100644
index 0000000..7c729e2
--- /dev/null
+++ b/core/modules/language/migration_templates/d7_language_negotiation_settings.yml
@@ -0,0 +1,19 @@
+id: d7_language_negotiation_settings
+label: Drupal 7 language negotiation settings
+migration_tags:
+  - Drupal 7
+source:
+  plugin: variable
+  variables:
+    - locale_language_negotiation_session_param
+    - locale_language_negotiation_url_part
+process:
+  'session/parameter': locale_language_negotiation_session_param
+  'url/source': locale_language_negotiation_url_part
+destination:
+  plugin: config
+  config_name: language.negotiation
+dependencies:
+  module:
+    - language
+    - migrate_drupal
diff --git a/core/modules/language/src/Tests/Migrate/d7/MigrateLanguageNegotiationSettingsTest.php b/core/modules/language/src/Tests/Migrate/d7/MigrateLanguageNegotiationSettingsTest.php
new file mode 100644
index 0000000..916ef78
--- /dev/null
+++ b/core/modules/language/src/Tests/Migrate/d7/MigrateLanguageNegotiationSettingsTest.php
@@ -0,0 +1,42 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\language\Tests\Migrate\d7\MigrateLanguageNegotiationSettingsTest.
+ */
+
+namespace Drupal\language\Tests\Migrate\d7;
+
+use Drupal\migrate_drupal\Tests\d7\MigrateDrupal7TestBase;
+/**
+ * Tests migration of language negotiation variables.
+ *
+ * @group language
+ */
+class MigrateLanguageNegotiationSettingsTest extends MigrateDrupal7TestBase {
+
+  /**
+   * Modules to enable.
+   *
+   * @var array
+   */
+  public static $modules = ['language'];
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function setUp() {
+    parent::setUp();
+    $this->executeMigration('d7_language_negotiation_settings');
+  }
+
+  /**
+   * Tests migration of language negotiation variables to language.negotiation.yml.
+   */
+  public function testLanguageNegotiation() {
+    $config = $this->config('language.negotiation');
+    $this->assertIdentical($config->get('session.parameter'), 'language');
+    $this->assertIdentical($config->get('url.source'), 'domain');
+  }
+
+}
diff --git a/core/modules/migrate_drupal/src/Tests/Table/d7/Variable.php b/core/modules/migrate_drupal/src/Tests/Table/d7/Variable.php
index 18351af..177ec92 100644
--- a/core/modules/migrate_drupal/src/Tests/Table/d7/Variable.php
+++ b/core/modules/migrate_drupal/src/Tests/Table/d7/Variable.php
@@ -200,6 +200,12 @@ public function load() {
       'name' => 'language_types',
       'value' => 'a:3:{s:8:"language";b:1;s:16:"language_content";b:0;s:12:"language_url";b:0;}',
     ))->values(array(
+      'name' => 'locale_language_negotiation_session_param',
+      'value' => 's:8:"language";',
+    ))->values(array(
+      'name' => 'locale_language_negotiation_url_part',
+      'value' => 's:6:"domain";',
+    ))->values(array(
       'name' => 'maintenance_mode',
       'value' => 'i:0;',
     ))->values(array(
@@ -482,4 +488,4 @@ public function load() {
   }
 
 }
-#e9148e9bed6f5b345cc1a281afe38dd0
+#6c379107303f95fe9118597506168dc2
