Author: buildbot
Date: Tue Jun 28 11:59:00 2016
New Revision: 991596

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    
websites/staging/sling/trunk/content/documentation/bundles/internationalization-support-i18n.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Jun 28 11:59:00 2016
@@ -1 +1 @@
-1750476
+1750490

Modified: 
websites/staging/sling/trunk/content/documentation/bundles/internationalization-support-i18n.html
==============================================================================
--- 
websites/staging/sling/trunk/content/documentation/bundles/internationalization-support-i18n.html
 (original)
+++ 
websites/staging/sling/trunk/content/documentation/bundles/internationalization-support-i18n.html
 Tue Jun 28 11:59:00 2016
@@ -142,7 +142,7 @@ h2:hover > .headerlink, h3:hover > .head
 </li>
 </ul>
 <h3 id="jcr-repository-based-resourcebundleprovider">JCR Repository based 
<code>ResourceBundleProvider</code><a class="headerlink" 
href="#jcr-repository-based-resourcebundleprovider" title="Permanent 
link">&para;</a></h3>
-<p>The sling.i18n Bundle provides the implementation of the 
<code>ResourceBundleProvider</code> interface, which may also be used outside 
of Sling requests for service tasks. This implementation gets the messages from 
a JCR Repository stored below nodes of the mixin node type 
<code>mix:language</code>. These language nodes have a 
<code>jcr:language</code> property naming the language of the resources. In the 
context of the JCR based <code>ResourceBundleProvider</code> this is of course 
expected to be the string value of respective <code>Locale</code>. The format 
may either be the format as described in <a 
href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html#toString%28%29";>Locale.toString</a>
 or as described in <a href="https://www.ietf.org/rfc/rfc4646.txt";>RFC4646</a> 
(both formats are also accepted in lower-case).</p>
+<p>The sling.i18n Bundle provides the implementation of the 
<code>ResourceBundleProvider</code> interface, which may also be used outside 
of Sling requests for service tasks. This implementation gets the messages from 
a JCR Repository stored below nodes of the mixin node type 
<code>mix:language</code>. These language nodes have a 
<code>jcr:language</code> property naming the language of the resources. In the 
context of the JCR based <code>ResourceBundleProvider</code> this is of course 
expected to be the string value of respective <code>Locale</code>. The format 
may either be the format as described in <a 
href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html#toString%28%29";>Locale.toString</a>
 or as described in <a href="https://tools.ietf.org/html/bcp47";>BCP 47</a>, 
while for the latter you may only provide ISO 3166-1 country codes (for the 
region) and ISO 639-1 alpha 2 language codes (for the language). Both formats 
are also accepted in lower-case.</p>
 <p>The exact location of these nodes is not relevant as the 
<code>ResourceBundleProvider</code> finds them by applying a JCR search.</p>
 <p>Two different types of storage formats are supported for the individual 
dictionaries</p>
 <h4 id="slingmessageentry-based"><code>sling:MessageEntry</code> based<a 
class="headerlink" href="#slingmessageentry-based" title="Permanent 
link">&para;</a></h4>
@@ -277,7 +277,7 @@ The parser will take any "key":"value" p
 <p>In case there is a resource bundle requested for a locale without country 
or variant, there is only 1 fallback (i.e. the default locale).
 The last resort (root resource bundle in all hierarchies) is always the bundle 
which returns the requested key as the value.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; 
text-align: right;">
-        Rev. 1685998 by kwin on Wed, 17 Jun 2015 12:25:29 +0000
+        Rev. 1750490 by kwin on Tue, 28 Jun 2016 11:58:51 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache 
Sling project


Reply via email to