maven - JSF i18n.property internationalization -
my facelet not able properties of property file, , can't figure out why.
code:
facelet:
<th id="leaderlabel" class="label"><h:outputtext value="#{msgs.fuehrer}" /></th>
faces-config:
<faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"> <application> <locale-config> <default-locale>de</default-locale> <supported-locale>en</supported-locale> </locale-config> <resource-bundle> <base-name>messages</base-name> <var>msgs</var> </resource-bundle> </application> </faces-config>
properties i've placed in maven project's src/main/resources:
messages_de.properties
fuehrer=führer
messages_en.properties
fuehrer=leader
problem:
it not render text, doesnt show @ all.
Comments
Post a Comment