[richfaces-svn-commits] JBoss Rich Faces SVN: r5671 - trunk/docs/userguide/en/src/main/docbook/included.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Jan 28 11:46:46 EST 2008


Author: artdaw
Date: 2008-01-28 11:46:46 -0500 (Mon, 28 Jan 2008)
New Revision: 5671

Modified:
   trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
Log:
http://jira.jboss.com/jira/browse/RF-2057 - internationalization method to redefine and localize the labels described

Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml	2008-01-28 16:43:23 UTC (rev 5670)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml	2008-01-28 16:46:46 UTC (rev 5671)
@@ -395,6 +395,20 @@
         object. It could be used in the custom date representation on the calendar (inside the
         custom facet).</listitem>
     </itemizedlist>
+    
+    <para>
+      The <emphasis role="bold">
+        <property>&lt;rich:calendar&gt;</property>
+      </emphasis> component provides the possibility to use internationalization method to redefine and localize the labels. 
+      You could use application resource bundle and define 
+      <property>RICH_CALENDAR_APPLY_LABEL</property>,
+      <property>RICH_CALENDAR_TODAY_LABEL</property>,
+      <property>RICH_CALENDAR_CLOSE_LABEL</property>,
+      <property>RICH_CALENDAR_OK_LABEL</property>,
+      <property>RICH_CALENDAR_CLEAN_LABEL</property>,
+      <property>RICH_CALENDAR_CANCEL_LABEL </property> there.
+    </para>
+    <para>You could also pack <property>org.richfaces.renderkit.calendar</property> resource bundle with your JARs defining the same properties.</para>
   </section>
 
   <section>




More information about the richfaces-svn-commits mailing list