[Yanel-commits] rev 59141 - public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/realm

michi at wyona.com michi at wyona.com
Mon Jul 4 10:49:36 CEST 2011


Author: michi
Date: 2011-07-04 10:49:36 +0200 (Mon, 04 Jul 2011)
New Revision: 59141

Modified:
   public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/realm/realm-configuration.html
Log:
some notes about language handler added

Modified: public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/realm/realm-configuration.html
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/realm/realm-configuration.html	2011-07-04 07:57:39 UTC (rev 59140)
+++ public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/realm/realm-configuration.html	2011-07-04 08:49:36 UTC (rev 59141)
@@ -10,7 +10,7 @@
 <li><a href="#rc-repo">Resource configurations repository</a></li>
 <li>Default language of realm (optional)</li>
 <li>Languages supported by this realm (optional)</li>
-<li>Language handler (optional)</li>
+<li><a href="#language-handler">Language handler</a> (optional)</li>
 <li>Translation manager (optional)</li>
 <li><a href="#yarep-repos">Additional Yarep based repositories</a> (optional)</li>
 <li><a href="#i18n">I18n configuration of this realm</a> (optional)</li>
@@ -37,6 +37,14 @@
 <h2>Resource Configurations Repository</h2>
 <p>The <a href="../resources/resource_type_configuration.html">resource configurations repository</a> is configured as follows:</p>
 <pre><rti>config/rti-repository.xml</rti></pre>
+
+
+<a name="language-handler"> </a>
+<h2>Language handler</h2>
+<p>A custom language handler can be configured as follows:</p>
+<pre><language-handler class="org.wyona.yanel.impl.StaticLanguageHandler"/></pre>
+<p>whereas if no custom language handler is set, then the <code>org.wyona.yanel.impl.DefaultLanguageHandler</code> is used (see <code>org.wyona.yanel.core.map.RealmDefaultImpl</code>).</p>
+
 <a name="yarep-repos"> </a>
 <h2>Additional Yarep based Repositories</h2>
 <p>Additional Yarep repositories can be configured as follows</p>



More information about the Yanel-commits mailing list