' . $locale['already_installed'] . '

'; } else { unset($_SESSION['saved']); $locales = array(); foreach(get_locales() as $tmp_locale) { $lang_file_main = LOCALE . $tmp_locale . '/main.php'; $lang_file_install = LOCALE . $tmp_locale . '/install.php'; if(@file_exists($lang_file_main) && @file_exists($lang_file_install)) { require($lang_file_main); $locales[] = array('id' => $tmp_locale, 'name' => $locale['name']); } } echo $twig->render('install.welcome.html.twig', array( 'locales' => $locales, 'locale' => $locale, 'buttons' => next_buttons(false, true) )); } ?>