diff --git a/admin.php b/admin.php index ff2bf3f..004a9d5 100644 --- a/admin.php +++ b/admin.php @@ -61,8 +61,8 @@
'it']; // set the locale to Italian - $CalendarSelect = new CalendarSelect($options); // use the default API url, but set the locale to Italian + $options = ['locale' => $i18n->locale]; + $CalendarSelect = new CalendarSelect($options); echo $CalendarSelect->getSelect([ 'class' => 'form-select', 'id' => 'APICalendarSelect',