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..3e3b77f0f5 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=%MCR.LayoutTransformerFactory.Default.Stylesheets%,xsl/i18n-transformation-step.xsl,xsl/xhtml2html.xsl + # 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-utils.xsl b/mir-layout/src/main/resources/xsl/mir-flatmir-layout-utils.xsl index 5a023acd5a..445f110734 100644 --- a/mir-layout/src/main/resources/xsl/mir-flatmir-layout-utils.xsl +++ b/mir-layout/src/main/resources/xsl/mir-flatmir-layout-utils.xsl @@ -1,10 +1,10 @@ + xmlns:i18ntr="http://www.mycore.org/i18n" + exclude-result-prefixes="mcrver mcrxsl i18ntr"> @@ -68,7 +68,7 @@ role="search"> + xmlns:i18ntr="http://www.mycore.org/i18n" + exclude-result-prefixes="xlink i18ntr"> - - + @@ -20,7 +18,6 @@ - <!DOCTYPE html> @@ -53,9 +50,9 @@