only in patch2:
unchanged:
--- a/core/modules/content_translation/content_translation.install
+++ b/core/modules/content_translation/content_translation.install
@@ -29,3 +29,10 @@ function content_translation_enable() {
$message = t('Enable translation for content types, taxonomy vocabularies, accounts, or any other element you wish to translate.', $t_args);
drupal_set_message($message, 'warning');
}
+
+/**
+ * Rebuild the routes as the content translation routes have now new names.
+ */
+function content_translation_update_8001() {
+ \Drupal::service('router.builder')->rebuild();
+}
only in patch2:
unchanged:
--- /dev/null
+++ b/core/modules/language/language.install
@@ -0,0 +1,13 @@
+invalidateContainer();
+}