Hi,
I'm using Date & time (webpar) on a multi culture site.
i would like for each culture to show the days of week and month in current culture.
example:
when on English site: Sunday
when on Hebrew site: ראשון
I looked at the file: DateTime.js
and saw this code:
dateFormat.i18n = {
dayNames: [
"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
],
monthNames: [
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
]
};
understand that this is the place to and translations but not sure how to make it work?
after adding translation, where to i tell the code which lang to use?many thanks :)