Skip to content

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

Open
@grischpel

Description

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions