Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF Calendar footer  RSS feed

 
wim kusee
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hallo,

A question about richfaces Calendar.
We are using richfaces Calendar. The language of our application is Dutch. The (short)names of days, names of months are in Dutch language (so these are right).
But at the bottom there is a line with the selected day, the clickable option "Clean" and "Today". Both Clean and Today are in English language (so these are wrong).
How can I show the text of this controls with another tekst-string? Maybe one option by giving a specific locale, other option by giving a specif text for these controls?

I have already tried the option "locale="Locale.FR", "locale="FR", and some other options, but nothing works.

Greetings,
Wim
 
wim kusee
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found the solution.

In the resource bundle you give an entry
RICH_CALENDAR_TODAY_LABEL with the value "vandaag" or "now" or "this day" or whatever text you want.
RICH_CALENDAR_CLEAN_LABEL with the value "schoon" or "erase" or.....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!