The language definition must be at the top of the template.
Code: Select all
<!doctype html>
<html lang="<?php echo $sl;?>">
<head>
<?php echo head();?>
...
...
...
</head>
<body<?php echo onload();?>>
...
Moderator: Tata
Code: Select all
<!doctype html>
<html lang="<?php echo $sl;?>">
<head>
<?php echo head();?>
...
...
...
</head>
<body<?php echo onload();?>>
...
Code: Select all
<?php echo polyglott_languagemenu();?>