Added basic I18N property support.

This commit is contained in:
Tim Holloway 2022-01-18 18:24:34 -05:00
parent 519a9c7e45
commit 4886584bc4
3 changed files with 15 additions and 1 deletions

View File

@ -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>

View File

@ -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">

View File

@ -0,0 +1 @@
hello=Hello World