1 Reply Latest reply: May 8, 2012 2:36 AM by Thomas Jodes RSS

Rich calendar i18n - internationalization

Thomas Jodes Newbie

Hello community,

 

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

 

It quotes:

"Alternatively, use the org.richfaces.calendar resource bundle with Java Archive files (JARs) defining the same properties. "

 

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,

 

Thomas