From 4f4194dfb562a657a05389645d255d585541f8b4 Mon Sep 17 00:00:00 2001 From: Kathleen Neumann Date: Fri, 17 Jun 2022 14:39:37 +0200 Subject: [PATCH] MIR-1157 enable i18n transformation as separate step --- .../src/main/resources/config/mir-layout/mycore.properties | 3 +++ mir-layout/src/main/resources/xsl/mir-cosmol-layout.xsl | 2 +- mir-layout/src/main/resources/xsl/mir-flatmir-layout.xsl | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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 @@ - +