| 170 |
if (!isset($this->mosConfig_lang)) { |
if (!isset($this->mosConfig_lang)) { |
| 171 |
$this->set('mosConfig_lang', 'english'); |
$this->set('mosConfig_lang', 'english'); |
| 172 |
} |
} |
|
|
|
| 173 |
// the name of the language folder |
// the name of the language folder |
| 174 |
if (!isset($this->mosConfig_locale)) { |
if (!isset($this->mosConfig_locale)) { |
| 175 |
$this->set('mosConfig_locale', 'en'); |
$this->set('mosConfig_locale', 'en'); |
| 180 |
$this->set('mosConfig_charset', 'iso-8859-1');/*'utf-8'* / |
$this->set('mosConfig_charset', 'iso-8859-1');/*'utf-8'* / |
| 181 |
} |
} |
| 182 |
|
|
| 183 |
|
|
| 184 |
|
|
| 185 |
/* |
/* |
| 186 |
$language_file = "$this->mosConfig_absolute_path/language/$this->mosConfig_lang.php"; |
$language_file = "$this->mosConfig_absolute_path/language/$this->mosConfig_lang.php"; |
| 187 |
if (file_exists($language_file)) require_once ($language_file); |
if (file_exists($language_file)) require_once ($language_file); |
| 190 |
$domain = 'administrator'; |
$domain = 'administrator'; |
| 191 |
$textdomain = $this->mosConfig_absolute_path.'/languages'; |
$textdomain = $this->mosConfig_absolute_path.'/languages'; |
| 192 |
$gettext =& phpgettext(); |
$gettext =& phpgettext(); |
| 193 |
$gettext->debug = true; |
$gettext->debug = 0; |
| 194 |
$gettext->has_gettext = false; |
$gettext->has_gettext = false; |
| 195 |
$gettext->setlocale($this->mosConfig_locale); |
$gettext->setlocale($this->mosConfig_locale);; |
| 196 |
$gettext->bindtextdomain($domain, $textdomain); |
$gettext->bindtextdomain($domain, $textdomain); |
| 197 |
$gettext->bind_textdomain_codeset($domain, 'utf-8'); |
$gettext->bind_textdomain_codeset($domain, 'utf-8'); |
| 198 |
$gettext->textdomain($domain); |
$gettext->textdomain($domain); |
| 199 |
/**/ |
/**/ |
| 200 |
|
/* Output: vrijdag 22 december 1978 */ |
| 201 |
|
|
| 202 |
} |
} |
| 203 |
|
|