Semantic-UI-Calendar icon indicating copy to clipboard operation
Semantic-UI-Calendar copied to clipboard

A localization possibility?

Open VipSaran opened this issue 7 years ago • 1 comments

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)?

VipSaran avatar May 04 '17 18:05 VipSaran

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

lubber-de avatar Jan 22 '19 14:01 lubber-de