How is the right way to translate the Datepicker with i18n?
i18next.t(‘array’, { returnObjects: true });
should work but how can i localize the datepicker? Or is there a way to work with
$.datepicker.setDefaults($.datepicker.regional[“uk”]) ?
How is the right way to translate the Datepicker with i18n?
i18next.t(‘array’, { returnObjects: true });
should work but how can i localize the datepicker? Or is there a way to work with
$.datepicker.setDefaults($.datepicker.regional[“uk”]) ?
Are you talking about jQuery Datepicker? Then it has nothing to do with Framework7.
For F7’s Calendar you need to pass translated parameters, e.g. monthNames
, monthNamesShort
, etc. http://framework7.io/docs/calendar.html#calendar-parameters
Thanks, I solved it by the parameters.