[08-Aug-2003 14:00:00] PHP Warning: fopen("/home/adm/www/home/contenido/locale//LC_MESSAGES/contenido.po","r") - No such file or directory in /home/adm/www/home/contenido/includes/functions.i18n.php on line 73
ein schneller workaround damit die errorlog.txt nicht so extrem anwächst, wenn gettext.dll nicht aktiviert ist.
/contenido/includes/functions.i18n.php
die funktion i18nInit durch folgendes ersetzen:
Code: Alles auswählen
function i18nInit ($localePath, $langCode)
{
	global $i18nLanguage;
	if (function_exists("bindtextdomain"))
	{
    	/* Bind the domain "contenido" to our locale path */
    	bindtextdomain("contenido", $localePath);
    	/* Set the default text domain to "contenido" */
    	textdomain("contenido");
    	/* Half brute-force to set the locale. */
    	if (!ini_get("safe_mode"))
    	{
    		putenv("LANG=$langCode");
    	}
    	setlocale(LC_ALL, $langCode);
	}
	$i18nLanguage = $langCode;
	if (!$i18nLanguage)
	{
		$i18nLanguage="de_DE";
	}
}
leicht nachzuvollziehen: bei Content - Artikel
bei Template wählen Symbol Online und Lock wird der text nicht übersetzt.
es scheint fast so als ob die variable $langCode irgendwo nicht korrekt zugewiesen wird (welche ja aus $belang hervorgeht). nur wo der wert verloren geht, habe ich noch nicht rausgefunden.
zusätzlich findet man wenn man sich den quellcode ansieht folgenden html müll am anfang der datei
Code: Alles auswählen
<html>
<html>
<html>
<html>
<html>
<html>
<html>
<html>
<html>
<html>
<head>
    <title></title>