return false;
}
- /**
- * Sets the local language.
- * Recall this function after language changed.
- *
- * @param integer $languageID
- */
- public function setLocale() {
- // set locale for string comparison, character classification and conversion
- setlocale(LC_COLLATE, $this->get('wcf.global.locale.unix').'.UTF-8', $this->get('wcf.global.locale.unix'), $this->get('wcf.global.locale.win'));
- setlocale(LC_CTYPE, $this->get('wcf.global.locale.unix').'.UTF-8', $this->get('wcf.global.locale.unix'), $this->get('wcf.global.locale.win'));
- }
-
/**
* Returns language icon path.
*
}
include_once($filename);
- $this->setLocale();
}
}
// get language
self::$languageObj = LanguageFactory::getInstance()->getUserLanguage(self::getSession()->getLanguageID());
- self::$languageObj->setLocale();
}
/**
<item name="wcf.global.form.error.multilingual"><![CDATA[Bitte füllen Sie dieses Eingabefeld für jede Sprache aus.]]></item>
<item name="wcf.global.language.noSelection"><![CDATA[Keine Auswahl]]></item>
<item name="wcf.global.loading"><![CDATA[Lädt …]]></item>
- <item name="wcf.global.locale.unix"><![CDATA[de_DE]]></item> <!-- system variable; do not translate -->
- <item name="wcf.global.locale.win"><![CDATA[deu_deu]]></item> <!-- system variable; do not translate -->
<item name="wcf.global.name"><![CDATA[Name]]></item>
<item name="wcf.global.objectID"><![CDATA[ID]]></item>
<item name="wcf.global.page.next"><![CDATA[Nächste Seite]]></item>
<item name="wcf.global.form.error"><![CDATA[The data you have entered are not valid. Please check the information you have given in the marked fields.]]></item>
<item name="wcf.global.form.error.empty"><![CDATA[Please enter the required information for this field.]]></item>
<item name="wcf.global.loading"><![CDATA[Loading …]]></item>
- <item name="wcf.global.locale.unix"><![CDATA[en_US]]></item> <!-- system variable; do not translate -->
- <item name="wcf.global.locale.win"><![CDATA[english]]></item> <!-- system variable; do not translate -->
<item name="wcf.global.name"><![CDATA[Name]]></item>
<item name="wcf.global.objectID"><![CDATA[ID]]></item>
<item name="wcf.global.page.next"><![CDATA[Next page]]></item>
<item name="wcf.global.title"><![CDATA[{$setupPackageName}]]></item>
<item name="wcf.global.title.subtitle"><![CDATA[Vorbereiten der Installation]]></item>
<item name="wcf.global.pageDirection"><![CDATA[ltr]]></item>
- <item name="wcf.global.locale.unix"><![CDATA[de_DE]]></item>
- <item name="wcf.global.locale.win"><![CDATA[deu_deu]]></item>
<item name="wcf.global.decimalPoint"><![CDATA[,]]></item>
<item name="wcf.global.thousandsSeparator"><![CDATA[.]]></item>
<item name="wcf.global.button.next"><![CDATA[Weiter »]]></item>
<item name="wcf.global.title"><![CDATA[{$setupPackageName}]]></item>
<item name="wcf.global.title.subtitle"><![CDATA[Prepairing installation]]></item>
<item name="wcf.global.pageDirection"><![CDATA[ltr]]></item> <!-- system variable; do not translate -->
- <item name="wcf.global.locale.unix"><![CDATA[en_US]]></item> <!-- system variable; do not translate -->
- <item name="wcf.global.locale.win"><![CDATA[english]]></item> <!-- system variable; do not translate -->
<item name="wcf.global.decimalPoint"><![CDATA[.]]></item>
<item name="wcf.global.thousandsSeparator"><![CDATA[,]]></item>
<item name="wcf.global.button.next"><![CDATA[Next »]]></item>