I'd like to i18n the rich:calendar component (using 4.1.0.Final).
For localization of all buttons, I looked into the reference http://docs.jboss.org/richfaces/latest_4_1_X/Component_Reference/en-US/html_single/#sect-Component_Reference-Rich_inputs-richcalendar
but unfortunately this did not work.
What I did:
1) created a file "org.richfaces.calendar.properties" in a JSF-jar inside the META-INF/resources with the keys for i18n the apply button, cancel button etc.
2) relocated that file into the war-project, so that the properties-file will reside in the WEB-INF/classes/ folder.
What am I doing wrong?
Thanks in advance,
Okay, the documentation shows an incorrect string for that resource bundle: it should be "org.richfaces.renderkit.calendar" instead of "org.richfaces.calendar".
The appropriate constant is declared in Richfaces CalendarRendererBase.