public function setLanguage(/*...*/)
    {
        $langs = func_get_args();

        $langCode = $this->trySettingLanguages(LC_ALL, $langs);
        if ($langCode) return $langCode;

        if (defined("LC_MESSAGES")) {
            $langCode = $this->trySettingLanguages(LC_MESSAGES, $langs);
            if ($langCode) return $langCode;
        }

        throw new PHPTAL_ConfigurationException('Language(s) code(s) "'.implode(', ', $langs).'" not supported by your system');
    }