function prefix_jqueryui_plugins($scripts){ $scripts[] = "jquery.ui.datepicker"; $scripts[] = "i18n/jquery.ui.datepicker-fr"; return $scripts; }