Code: Select all
[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?en');
exit();
}
}
[/PHP]
I Did a translation of the summary page in french in the same structure level (article).
it's not working.
Do I have to edit some php code on WCMS to multilangual?
Well I am lost
i need heeeeeeeeelp.
thanks