#93875Populate site settings depending on language to TypoScript constants
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
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[FEATURE] Populate site settings depending on language to TypoScript constants Resolves: #93875 Releases: main