Mit
Code: Select all
<__html lang="de">
Code: Select all
hypens: auto;
Jetzt habe ich aber das Problem, daß CMSms die Sprache folgendermaßen einstellt:
Code: Select all
<__html lang="de_DE">
Gibt's dafür eine Lösung?
Liebe Grüße,
Christian
Code: Select all
<__html lang="de">
Code: Select all
hypens: auto;
Code: Select all
<__html lang="de_DE">
DIGI3 wrote: ↑Fri Apr 09, 2021 12:02 am CMSMS doesn't set the lang like that, but your template might. Just change the template so it doesn't.
I've seen some templates come withwhich will result in the problem you're having, so you could change that to:Code: Select all
<__html lang="{cms_get_language}">
or simplyCode: Select all
<__html lang="{cms_get_language|truncate:2:"":true}">
Code: Select all
<__html lang="de">