'Is config.sys_language_mode in TYPO3 9 with existing site configuration working any more?

in a site with a site definition for a foreign language

fallbackType: fallback

i need for one page branch a different bahavior. Up to TYPO3 8 i used an extension template with

config.sys_language_mode = strict

which did the job. But in TYPO3 9 with an existing site definition this entry seems not to work anymore. Accordiong to the manual

https://docs.typo3.org/m/typo3/guide-frontendlocalization/master/en-us/LocalizationModes/Index.html

it should work but it does not.

Any ideas?

Thanks!



Solution 1:[1]

The only possibility is a custom middleware handler. Look here for more details: Change language parameters in site configuration for some pages in a site

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 lisardo