config = WBClass::create('WBConfig'); } public function setLocale($locale) { patI18n::setLocale($locale); echo "change locale: $locale
"; } public function display($config) { echo "$config
"; $this->config->load($config); $values = $this->config->get(); echo '
' . print_r($values, true) . "
\n"; } } $t = new i18nXMLConfigTester(); $t->setLocale('de_DE'); $t->display('locale'); ?>