static $properties; return $properties[$property]; } /** * This one gets called automatically * * @ignore * @static * @internal * @access private * @return void */ function _main() { // initialize the locale stack $last =& I18Nv2::getStaticProperty('last'); $last = array(); // map of "fully qualified locale" codes $locales =& I18Nv2::getStaticProperty('locales'); $locales = array('af' => 'af_ZA', 'de' => 'de_DE', 'en' => 'en_US', 'fr' => 'fr_FR', 'it' => 'it_IT', 'es' => 'es_ES', 'pt' => 'pt_PT', 'sv' => 'sv_SE', 'nb' => 'nb_NO', 'nn' => 'nn_NO', 'no' => 'no_NO', 'fi' => 'fi_FI', 'is' => 'is_IS', 'da' => 'da_DK', 'nl' => 'nl_NL', 'pl' => 'pl_PL', 'sl' => 'sl_SI', 'hu' => 'hu_HU', 'ru' => 'ru_RU', 'cs' => 'cs_CZ'); // define locale fallbacks $fallbacks =& I18Nv2::getStaticProperty('fallbacks'); $fallbacks = array('no_NO' => 'nb_NO', 'nb_NO' => 'no_NO'); // include Win32 locale codes if (I18Nv2_WIN) { include_once 'I18Nv2/Locale/Windows.php'; } } } I18Nv2::_main();