#89686typolink must link to current language
Description
If I have German as the default language and I have activated the French view, then the links should show to the French pages by default. However all links go to the German pages.
https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Functions/Typolink.html#language
If I omit the language configuration with the typolink function, then the current (French) language should be used. However the default German language is used.
It only works if I read the language and add the language configuration for each link.
$languageAspect = GeneralUtility::makeInstance(Context::class)->getAspect(‘language’);
// (previously known as TSFE->sys_language_uid)
$result = $languageAspect->getId();Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.