TYPO3-extension: Subscribe and unsubscribe to tt_address, generate static Link to unsubscribe (to use in Newsletter), automatically delete unconfirmed subscribers
Hi Gregor,
in TYPO3 12 the language code detection fails. It always returns 'de' but the default language is 'en'. Even by changing the language the output keeps 'de'.
Your method to check the Letter Code seams to base on old TYPO3 or tries to be backward compatible.
Unfortunately in my context, TSFE is filled, but with a wrong value. So in TYPO3 12 the method must use $this->getTwoLetterIsoCodeFromSiteConfig(), even if TSFE is not empty.
I would suggest using the version number as the deciding factor. That could be like this (since typo3 9 the language is set in site config):
Hi Gregor, in TYPO3 12 the language code detection fails. It always returns 'de' but the default language is 'en'. Even by changing the language the output keeps 'de'.
Your method to check the Letter Code seams to base on old TYPO3 or tries to be backward compatible.
Unfortunately in my context, TSFE is filled, but with a wrong value. So in TYPO3 12 the method must use $this->getTwoLetterIsoCodeFromSiteConfig(), even if TSFE is not empty.
I would suggest using the version number as the deciding factor. That could be like this (since typo3 9 the language is set in site config):
hope I could help. bye Martin