added language alert to template.php