swing - Java Unsupported Locale (JCalendar) -


i'm developing desktop application swing unsupported language.

i have own properties file. i'm using messages in application. call setlocale() method of jcalendar file. since don't know keywords use months, month selection inside jcalendar shows english named months.

for example, tried:

january=translatedjanuary february=translatedfebruary 

i couldn't find tutorial or form fill create locale (properties) file. there one? or still impossible jcalendar words properties file. or simply, necessary keywords?

looking @ source of initnames() method in jcalendar's jmonthchooser class, see:

dateformatsymbols dateformatsymbols = new dateformatsymbols(locale); string[] monthnames = dateformatsymbols.getmonths(); 

so, can't override names own resourcebundle entries. best can hope java se defines month names locale pass setlocale.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -