Added basic I18N property support.
This commit is contained in:
parent
519a9c7e45
commit
4886584bc4
|
@ -7,6 +7,17 @@
|
|||
version="2.2"
|
||||
>
|
||||
<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>
|
||||
<description>Global Navigation</description>
|
||||
<display-name>Navigation</display-name>
|
||||
|
|
|
@ -23,7 +23,9 @@
|
|||
</h1>
|
||||
<p:ajaxStatus onerror="PF('opError').show()"/>
|
||||
<ui:insert name="content">
|
||||
<div style="flex: auto;">
|
||||
<ui:include src="content.xhtml" />
|
||||
</div>
|
||||
</ui:insert>
|
||||
<!-- -->
|
||||
<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