Sorry for this. but those have been obviously mistakes in the template.
My website pops now up again, but without the expected multilang effects.
I see on the web site always such Catagory names [deutsch]Test [english]Trial whether I use the english or deutsch Tab.
But before the site did pop up again I had to delete the multilang code 2x in:
$site_template->register_vars(array(
"cat_name" => format_text($image_row['cat_name'], 2),
and also in
$num_subs = sizeof($visible_cat_cache);
$sub_cat_list = "";
$i = 1;
foreach ($visible_cat_cache as $subcat_id) {
if ($i <= $num_subs && $i <= $config['num_subcats']) {
$sub_url = $site_sess->url(ROOT_PATH."categories.php?".URL_CAT_ID."=".$subcat_id);
$sub_cat_list .= "<a href=\"".$sub_url."\" class=\"subcat\">".format_text($cat_cache[$subcat_id]['cat_name'], 2)."</a>";
and finally in
$category_list = "";
foreach ($drop_down_cat_cache[$cid] as $key => $category_id) {
if (check_permission("auth_viewcat", $category_id)) {
$category_list .= "<option value=\"".$category_id."\"";
if ($cat_id == $category_id) {
$category_list .= " selected=\"selected\"";
}
if ($cat_cache[$category_id]['cat_parent_id'] == 0) {
$category_list .= " class=\"dropdownmarker\"";
}
if ($depth > 1) {
$category_list .= ">".str_repeat("--", $depth - 1)." ".format_text($cat_cache [$category_id]['cat_name'], 2)."</option>\n";
}
else {
$category_list .= ">".format_text($cat_cache [$category_id]['cat_name'], 2)."</option>\n";
Maybe this is the reason for not functioning correctly, but with the multilang tag in, the site did not open and one error message after the other came up.
So I have now no ideas what else to do. All the other changes are done according your MOD. I did not start to do anything about image names or image descriptions so far, because for me the cat names and cat descriptions are the important items.