Actions
Bug #86009
closedhtml-tag is without lang- and dir-attribute using site-configuration
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
Start date:
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
With current master for 9.4 the <html>-tag is without lang- and dir-attribute, also meta-language-tag is missing. We commented out our TypoScript-language-config and expected that all attributes and tags are automatically created/changed on a basis of new site-configuration like described here https://docs.typo3.org/typo3cms/extensions/core/Changelog/9.2/Feature-84581-SiteHandling.html
current:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
[...]
expected:
<!DOCTYPE html>
<html lang="de" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="language" content="de">
[...]
Our config:
/typo3conf/sites/main-site/config.yaml
site:
rootPageId: 1
base: /
languages:
-
languageId: '0'
title: Deutsch
navigationTitle: Deutsch
base: /
locale: de_DE.UTF-8
iso-639-1: de
hreflang: de-DE
direction: ltr
typo3Language: de
flag: de
enabled: true
errorHandling: { }
setup.typoscript
page = PAGE
#page.meta.language = de
config {
#absRefPrefix = /
#sys_language_uid = 0
#language = de
#locale_all = de_DE.UTF-8
#htmlTag_langKey = de
#htmlTag_dir = ltr
}
Non composer based!
TYPO3: 9.4.0-dev (current master)
PHP: 7.2.5
MariaDB: 10.0
Ubuntu 16.04
Actions