Semantic-UI-Calendar
Semantic-UI-Calendar copied to clipboard
A localization possibility?
Example module.set
extension:
text: function (key, value, refreshCalendar) {
settings.text[key] = value;
if (refreshCalendar) {
module.create.calendar();
}
}
Example usage:
$('#daypicker').calendar('set text', 'months', months_hr_HR, true);
Works but probably needs some sanity checks (at least for existence and lengths).
Could something like this be added to allow for easy on-the-fly localization (changes)?
The calendar has been merged into https://github.com/fomantic/Fomantic-UI/ You can specify translated strings at initialization See here https://fomantic-ui.com/modules/calendar.html#language