Commit 3a1cc208 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Added information about uses of i18n in plugin.xml.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@7861 b35dd754-fafc-0310-a699-88a17e54d16e
parent edc6ddbf
......@@ -341,8 +341,13 @@ procedure:
<fmt:message key="some.key.name" />
</pre>
</li>
You can also internationalize Strings in your Java files using the LocaleUtils class:<br>
<tt>org.jivesoftware.util.LocaleUtils.getLocalizedString("some.key.name", "[plugin_name]");</tt>
<li>Internationalize Strings in your Java files using the LocaleUtils class:<br>
<tt>org.jivesoftware.util.LocaleUtils.getLocalizedString("some.key.name", "[plugin_name]");</tt>
</li>
<li>Internationalize Strings in your plugin.xml file using the ${var} format:<br>
<tt>&lt;sidebar id="gateways" name="${plugin.sidebar.name}" description="${plugin.sidebar.description}"&gt;</tt><br>
<tt>&lt;description&gt;${plugin.description}&lt;/description&gt;</tt>
</li>
</ul>
</p>
<h2>Using the Openfire Build Script</h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment