Does anyone used Apache myFaces? My question is: is it posible to change the language that is showed in the calendar component? I have to use Brazilian Portuguese in name of months, but the app doesn't getting the system language.
posted 12 years ago
Do you have the source code? The renderer does this function (org.apache.myFaces.custom.calendar.HtmlCalendarRenderer). There is a map of month index -> String month name. This looks like it should get the locale specific information, so try setting your language preferences in your browser and see if it works.
Otherwise you can always hard code this map to the Strings that you want !