vhs icon indicating copy to clipboard operation
vhs copied to clipboard

BUG: MenuViewHelper will not translate one single page - v 7.0.1

Open grischpel opened this issue 5 months ago • 0 comments

I have checked that the bug exists in the dev-development branch Yes

I have checked that there are no already open issues or recently closed issues about this bug Yes

MenuViewHelper

In version 7.0.1 there will be one menu title, which is not translated. (also in dev-development) Funnily enough, this is only the case in a single language. Only in English and not in French. My language UID's are: German -> 0, French -> 1, English -> 5 I am using Typo3 version 11.5.34

image In version 6.1.3 these will work image

Code i used:

<v:menu.directory as="mainMenu" entryLevel="0" useShortcutData="true" pages="{settings.menuentry}">
            <f:for each="{mainMenu}" as="mainPage" iteration="mainIteration">
                    <f:if condition="{siteLangUid} == {subPage.sys_language_uid}">
			 <f:link.typolink parameter="{subPage.link}">
                                <f:format.raw>{subPage.linktext}</f:format.raw>
                         </f:link.typolink>
		    </f:if>
             </f:for>
</v:menu.directory>

To Reproduce Steps to reproduce the behavior: Install version 7.0.1 (see image above - v7.0.1)

Expected behavior Site titel should be translated (see image above - v6.1.3)

grischpel avatar Jan 30 '24 08:01 grischpel