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"
>
<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>
@ -15,7 +26,7 @@
<description>Go Home</description>
<from-outcome>home</from-outcome>
<to-view-id>/main.xhtml</to-view-id>
<redirect/>
<redirect />
</navigation-case>
</navigation-rule>
</faces-config>

View File

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

View File

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