My facelet is not able to get the properties of the property file, and I 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 which I've placed in Maven project's src/main/resources:
messages_de.properties
fuehrer=Führer
messages_en.properties
fuehrer=Leader
Problem:
It does not render the text, it doesnt show it at all.