-
1. Re: rich:calendar i18n is applied not for all captions
usagi May 25, 2011 10:27 AM (in response to sergeib)One have to create a resource bundle, like as org.richfaces.renderkit.calendar.properties, and it could have the following entries:
# Resources for rich:calendar RICH_CALENDAR_APPLY_LABEL=Apply RICH_CALENDAR_OK_LABEL=Ok RICH_CALENDAR_CANCEL_LABEL=Cancel RICH_CALENDAR_CLEAN_LABEL=Clean RICH_CALENDAR_TODAY_LABEL=Today RICH_CALENDAR_CLOSE_LABEL=\u00D7
-
2. Re: rich:calendar i18n is applied not for all captions
sergeib May 25, 2011 11:58 AM (in response to usagi)usagi, can I add these properties to my .properties file in order to override richfaces ones?
I can't,actually, find calendar.properties file in my project,looks like it hidden deep in lib.
Thank you.
-
3. Re: rich:calendar i18n is applied not for all captions
usagi May 26, 2011 5:01 AM (in response to sergeib)No, you woould not find this file, as it is not there. You have to create it, and place it in the org.richfaces.renderkit package, as RichFaces looks there for it.
-
4. Re: rich:calendar i18n is applied not for all captions
sergeib May 26, 2011 8:39 AM (in response to usagi)usagi, thank you for reply.
We use maven repository for our project,so there is richfaces-impl-3.3.2.SR1.jar file on my locale PC,located here:
/.m2/repository/org/richfaces/framework/richfaces-impl/3.3.2.SR1
How can I add the .properties file to richfaces-impl-3.3.2.SR1.jar? should I add it to classpath?
thank you for help.
-
5. Re: rich:calendar i18n is applied not for all captions
usagi May 26, 2011 8:42 AM (in response to sergeib)Forget about the jar file.
Just create the package and the calendar.properties file among your sources.
-
6. Re: rich:calendar i18n is applied not for all captions
sergeib May 26, 2011 2:15 PM (in response to usagi)usagi, many thanks to you!
It's working absolutely OK.
--
my regards,
Sergei