'Čeština', 'de' => 'Deutsch', 'el' => 'Ελληνικά', 'en' => 'English', 'es' => 'Español', 'et' => 'Eesti', 'fi' => 'Suomeksi', 'fr' => 'Français', 'it' => 'Italiano', 'lv' => 'Latviešu', 'nb' => 'Bokmål', 'nl' => 'Nederlands', 'pl' => 'Polski', 'pt' => 'Português', 'ro' => 'Română', 'ru' => 'Русский', 'sl' => 'Slovenščina', 'tr' => 'Türkçe', 'uk' => 'украї́нська мо́ва', 'zh-cn' => '简体中文', 'zh-tw' => '正體中文' ); /** * Redirect to a localized path. * * @param array $langs list of languages * @param string $page optional path to which we want to redirect * @param string $default_locale * * @return void */ function relocate($langs, $page = '', $default_locale = 'en') { require_once 'localeDetection.class.php'; $locale = new ChooseLocale(array_keys($langs)); $locale->setDefaultLocale($default_locale); header(sprintf('Location: /%s/%s', $locale->getCompatibleLocale(), $page )); die; } /** */ function show_langs($langs) { header('Content-Type: text/html; charset=utf-8'); $count = count($langs); $s = << Mageia

Mageia.org is currently available in {$count} languages:


', '

If you would like to help improving this Web site or its translations, ', 'check out our Web and ', 'localization teams!

', '
'; }