Added basic I18N property support.
This commit is contained in:
parent
519a9c7e45
commit
4886584bc4
|
@ -7,6 +7,17 @@
|
||||||
version="2.2"
|
version="2.2"
|
||||||
>
|
>
|
||||||
<name>GourmetJ</name>
|
<name>GourmetJ</name>
|
||||||
|
|
||||||
|
<application>
|
||||||
|
<locale-config>
|
||||||
|
<default-locale>en</default-locale>
|
||||||
|
</locale-config>
|
||||||
|
<resource-bundle>
|
||||||
|
<base-name>com.mousetech.message</base-name>
|
||||||
|
<var>msg</var>
|
||||||
|
</resource-bundle>
|
||||||
|
</application>
|
||||||
|
|
||||||
<navigation-rule>
|
<navigation-rule>
|
||||||
<description>Global Navigation</description>
|
<description>Global Navigation</description>
|
||||||
<display-name>Navigation</display-name>
|
<display-name>Navigation</display-name>
|
||||||
|
@ -15,7 +26,7 @@
|
||||||
<description>Go Home</description>
|
<description>Go Home</description>
|
||||||
<from-outcome>home</from-outcome>
|
<from-outcome>home</from-outcome>
|
||||||
<to-view-id>/main.xhtml</to-view-id>
|
<to-view-id>/main.xhtml</to-view-id>
|
||||||
<redirect/>
|
<redirect />
|
||||||
</navigation-case>
|
</navigation-case>
|
||||||
</navigation-rule>
|
</navigation-rule>
|
||||||
</faces-config>
|
</faces-config>
|
||||||
|
|
|
@ -23,7 +23,9 @@
|
||||||
</h1>
|
</h1>
|
||||||
<p:ajaxStatus onerror="PF('opError').show()"/>
|
<p:ajaxStatus onerror="PF('opError').show()"/>
|
||||||
<ui:insert name="content">
|
<ui:insert name="content">
|
||||||
|
<div style="flex: auto;">
|
||||||
<ui:include src="content.xhtml" />
|
<ui:include src="content.xhtml" />
|
||||||
|
</div>
|
||||||
</ui:insert>
|
</ui:insert>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
|
|
1
src/main/resources/com/mousetech/message.properties
Normal file
1
src/main/resources/com/mousetech/message.properties
Normal file
|
@ -0,0 +1 @@
|
||||||
|
hello=Hello World
|
Loading…
Reference in New Issue
Block a user