Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
grischpel opened this issue Jan 30, 2024 · 0 comments
Open

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

grischpel opened this issue Jan 30, 2024 · 0 comments

Comments

@grischpel
Copy link

grischpel commented Jan 30, 2024

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 grischpel changed the title BUG: foobar fails when baz BUG: MenuViewHelper will not translate one single page - v 7.0.1 Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant