Bug with every language plugin?

Post Reply
pivari
Posts: 8
Joined: Sat Jan 06, 2024 6:56 pm

Bug with every language plugin?

Post 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

User avatar
nox
Posts: 34
Joined: Sat May 23, 2020 9:02 pm

Re: Bug with every language plugin?

Post 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() ?>">

Post Reply