11 Replies Latest reply on Nov 24, 2009 7:35 AM by Ronan Silva

    change locale of

    gamba Newbie

      Hi,

      I'm using the rich:calendar component with a german Locale. Months and years are correct in german language but the {todayControl} always is "Today", also the "Clean" control in the footer.

      How can I change it to german locale, is it a bug?

      BTW: The code I'm using

      <rich:calendar value="#{props.attributeDateValue}" locale="Locale.DE"
       datePattern="dd.MM.yyyy"
       popup="true" showApplyButton="false"
       showWeekDaysBar="false" showWeeksBar="false"
       cellWidth="22px" cellHeight="20px"
       buttonIcon="#{msg.imageCalendar}">
      
       <f:facet name="footer">
       <h:outputText value="{todayControl}" />
       </f:facet>
      </rich:calendar>
      


      Thx
      Gamba