I have this in the HEAD of default template:
[PHP]
if(!$GLOBALS['aktion'][0]) {
switch( strtolower( substr( $_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2 ) ) ) {
case 'de': header('Location: '.$GLOBALS['phpwcms']['site'].$GLOBALS['phpwcms']['root'].'index.php?de');
exit();
break;
default: header('Location: '.$GLOBALS['phpwcms']['site'].$GLOBALS['phpwcms']['root'].'index.php?dk');
exit();
}
}
[/PHP]
I have 2 site structure with there own alias "dk" and "de"
And the change of language work fine, but i always see both language structure on the website ?
I have try, change {NAV_TABLE_COLUMN:0} to the id i found in admin for danish {NAV_TABLE_COLUMN:94} but then i ONLY se danish and only change is the German startsite ? not the german site structure ??
What is wrong ? Where do i look for the problem ?
[/img]
multilingual don´t woork ?
no
i just have one template... is that wrong ?