I try to get a multilanguage version and with the help of pepe I have one. But it is not quite OK. i try to follow the leads from the sticky-thread on multilanguage, but halfway through it becomes a germans only version, and i don't understand anything.
My problem is that when I follow the leads, and put:
Code: Select all
[PHP]
$check_id = $GLOBALS['content']['cat_id'];
while( $GLOBALS['content']['struct'][$check_id]['acat_struct'] <> 0 ) {
$check_id = $GLOBALS['content']['struct'][$check_id]['acat_struct'];
}
echo "{NAV_ROW:$check_id";
echo ":0}";
[/PHP]
<!-- Umschaltung/switch -> ENGELSKA-->
<a href="index.php?en{PHP:scripts/strip-prefix.php}" target="_self">{IMAGE:../flags/english.gif}</a>{SPACER:5x1}
Code: Select all
index.php?sw-homepage
But the "home"-link in the menu is gone. And since i don't want a leftside menu but only one in the header, it seems I can't have a multilingual site.
Or?
The structure is like pepe suggested in another thread:
Index
- HEM (sw-homepage )
- HOME (en-homepage)
And so on
Maybe I shall remove the "index"-level? Or just try to live with it?
Sorry to ask, but since it is mainly german threads I just get lost in translation sometimes.