diff --git a/mir-layout/src/main/resources/config/mir-layout/mycore.properties b/mir-layout/src/main/resources/config/mir-layout/mycore.properties
index 342c514a63..7cbb834adf 100644
--- a/mir-layout/src/main/resources/config/mir-layout/mycore.properties
+++ b/mir-layout/src/main/resources/config/mir-layout/mycore.properties
@@ -3,6 +3,9 @@
MIR.Layout.Theme=flatmir
MCR.LayoutTransformerFactory.Default.Stylesheets=xsl/mir-%MIR.Layout.Theme%-layout.xsl
+# Do i18n in a separate step to translate webpages and labels
+MCR.LayoutTransformerFactory.Default.Stylesheets=xsl/i18n.xsl,%MCR.LayoutTransformerFactory.Default.Stylesheets%
+
# Use this to set a bootswatch theme, see http://bootswatch.com/
# default in flatmir is flatly, see http://bootswatch.com/flatly/
MIR.DefaultLayout.CSS=flatly.min
diff --git a/mir-layout/src/main/resources/xsl/mir-cosmol-layout.xsl b/mir-layout/src/main/resources/xsl/mir-cosmol-layout.xsl
index 33f78aebda..4b1f5a2694 100644
--- a/mir-layout/src/main/resources/xsl/mir-cosmol-layout.xsl
+++ b/mir-layout/src/main/resources/xsl/mir-cosmol-layout.xsl
@@ -11,7 +11,7 @@
-
+
diff --git a/mir-layout/src/main/resources/xsl/mir-flatmir-layout.xsl b/mir-layout/src/main/resources/xsl/mir-flatmir-layout.xsl
index 471ab64812..d0e2f94412 100644
--- a/mir-layout/src/main/resources/xsl/mir-flatmir-layout.xsl
+++ b/mir-layout/src/main/resources/xsl/mir-flatmir-layout.xsl
@@ -11,7 +11,7 @@
-
+