Page 1 of 1

Bug with every language plugin?

Posted: Sun Jan 07, 2024 3:57 pm
by pivari
I've tried to install italian and german plugin and if I see inside the html code I can see
<?php global $Wcms ?>

<!DOCTYPE html>
<html lang="en">

I think this is a bug. I've set "it" in the security but the plugin doesn't use it

Re: Bug with every language plugin?

Posted: Sun Jan 07, 2024 8:42 pm
by nox
From Wonder CMS news:
New: HTML language parameter can be changed in Settings - Security. Seperate settings available for admin and for visitors. This can be done by replacing your html tag with

Code: Select all

<html lang="<?= $Wcms->getSiteLanguage() ?>">
in your theme.php file
Replace <html lang="en"> with <html lang="<?= $Wcms->getSiteLanguage() ?>">