function enqueueWizardResources() { $this->importableConfiguration = new PostmanImportableConfiguration(); $startPage = 1; if ($this->importableConfiguration->isImportAvailable()) { $startPage = 0; } wp_localize_script(self::POSTMAN_SCRIPT, 'postman_setup_wizard', array('start_page' => $startPage)); wp_enqueue_style('jquery_steps_style'); wp_enqueue_style(self::POSTMAN_STYLE); wp_enqueue_script('postman_wizard_script'); if (PostmanUtils::startsWith(get_locale(), 'fr')) { wp_enqueue_script('jquery_validation_fr'); } elseif (PostmanUtils::startsWith(get_locale(), 'it')) { wp_enqueue_script('jquery_validation_it'); } elseif (PostmanUtils::startsWith(get_locale(), 'tr')) { wp_enqueue_script('jquery_validation_tr'); } }