diff --git a/core/modules/content_translation/content_translation.module b/core/modules/content_translation/content_translation.module
index c0c3535..6dc9999 100644
--- a/core/modules/content_translation/content_translation.module
+++ b/core/modules/content_translation/content_translation.module
@@ -1040,3 +1040,17 @@ function content_translation_save_settings($settings) {
   entity_info_cache_clear();
   menu_router_rebuild();
 }
+
+/**
+ * Implements hook_entity_presave_form().
+ */
+function content_translation_entity_presave_form(EntityInterface $entity, $form_display, $operation, array &$form_state) {
+  $target = Drupal::request()->get('content_translation_target');
+  $source = Drupal::request()->get('content_translation_source');
+  if ($target) {
+    $form_state['content_translation']['target'] = $target;
+  }
+  if ($source) {
+    $form_state['content_translation']['source'] = $source;
+  }
+}
