]> git.mxchange.org Git - addressbook-war.git/blobdiff - web/WEB-INF/templates/base.tpl
fixed copyright and added stuff for localization support (unfinished)
[addressbook-war.git] / web / WEB-INF / templates / base.tpl
index 74115a03ae18c60b9e393337b73f57cacc375103..2e862b4c1b229221107a957b75eeb09694b27d20 100644 (file)
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <html
+       lang="#{localization.locale.language}" xml:lang="#{localization.locale.language}"
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://java.sun.com/jsf/facelets"
@@ -9,6 +10,7 @@
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
                <f:loadBundle var="msg" basename="org.mxchange.localization.bundle" />
+               <f:view locale="#{localization.locale}" />
 
                <h:outputStylesheet name="/css/default.css" />
                <h:outputStylesheet name="/css/cssLayout.css" />