Forum OpenACS Development: ad_form, element date & calendar widget

Request notifications

Does the small calendar widget support i18n message translation?

I've written the example of code bellow into ad_form -element ...

... {startdate:date {label "[ calendar.Date1]"} {format "DD MONTH YYYY"} {html {class form-control style "display: inline-block; white-space: nowrap; height:32px; width:30%; " }} {afterhtml {<input type="button" style="height:23px; width:23px; background: url('/resources/acs-templating/calendar.gif');" onclickk="return showCalendarWithDateWidget('start_date', 'y-m-d');" \ > } } }

...

The widget is triggered by the JS function showCalendarWithDateWidget('start_date', 'y-m-d');

implemented in the library core.js, line 1712.

I found a few references about i18n, within /acs-subsite/www/resources/core.js at line 1568, but nothing that would support more than en_US by default.

How could I configure calendar widget be display in pt_BR?