printTitle($output, 'LANGUAGE'); if ($appConfig->hasLanguage() && $this->questionHelper->ask($input, $output, new ConfirmationQuestion( 'Do you want to keep imported language? (Y/n): ' ))) { return; } $appConfig->setLanguage([ 'DEFAULT' => $this->questionHelper->ask($input, $output, new ChoiceQuestion( 'Select default language for the application in general (defaults to ' . self::SUPPORTED_LANGUAGES[0] . '):', self::SUPPORTED_LANGUAGES, 0 )), 'CLI' => $this->questionHelper->ask($input, $output, new ChoiceQuestion( 'Select default language for CLI executions (defaults to ' . self::SUPPORTED_LANGUAGES[0] . '):', self::SUPPORTED_LANGUAGES, 0 )), ]); } }