Feature #93875
openPopulate site settings depending on language to TypoScript constants
0%
Description
The TypoScript constants can be defined in the page's config.yaml. It is not possible to set the constants language dependent.
Example:
A page has multiple languages.
ID 0: english
ID 1: german
Default settings:
[...]
settings:
theme: client
For the language German (ID: 0) the value "client-German" for the constant "theme" should be used.
languages:
- title: German
enabled: true
languageId: '1'
base: /de/
typo3Language: de
locale: de_DE.UTF-8
iso-639-1: de
navigationTitle: Deutsch
hreflang: de-DE
direction: ''
flag: de
settings:
theme: client-german
Currently a mixture of SiteConfiguration Yaml and TypoScript Condition (siteLanguage == 1 ...) has to be created. In order to configure this in one place, the "settings" in the Yaml file should be able to be set depending on the language.
---
Populate site settings to TS constants was introduced with: #91080
Updated by Joerg Boesche over 3 years ago
- Related to Feature #91080: Populate site settings to TypoScript constants added
Updated by Oliver Hader almost 2 years ago
- Sprint Focus set to On Location Sprint
Updated by Oliver Hader almost 2 years ago
Seems to be useful, but also raises complexity since merging/overriding site-settings and language-settings is required (the usual problem with inheritance).
Updated by Benni Mack about 1 year ago
- Sprint Focus deleted (
On Location Sprint)