Bug #88685
closedWith "Hide default translation of page" no link for alternate language is generated
0%
Description
I have a migrated typo3 version from 6.2 LTS to latest 9.5.8 which have single page tree with multiple languages.
In our typo3 instance, we are generating the menu using special type: directory & list. But for translated pages, those pages which have 'Hide default translation of page' option checked menu isn't rendered in preferred languages.
Updated by Ebin Mathew over 5 years ago
- Related to Bug #87805: With "Hide default translation of page" no link for another language is generated added
Updated by Riccardo De Contardi over 5 years ago
I report here the description of #87805 to keep track of it:
I am using a single-page tree, multi-language setup with English as default language and German as second language.
On one (English) page the option "Hide default translation of page" is set. When I now use the "Menu subpages" content element on a German Page, the link to this page (generated by the MenuProcessor) is empty.
I digged a little bit deeper and recognized, that also the f:page.uid view helper has the problem. If I give the view helper the uid of the (English) page I am getting an empty result for the German page.
If I unset the option "Hide default translation of page" everything works as expected.
I recognized this behaviour under TYPO3 9.5.4.
Updated by Riccardo De Contardi about 5 years ago
I performed the following tests on TYPO3 9.5.9 and 10.1.0-dev
Prerequistes¶
- Fresh TYPO3 installation with a default language (Italian) and an additional language (ID=1, English)
- create at least three pages with the following structure:
+--Pagina | +-- Sottopagina 1 | +-- Sottopagina 2
- Translate the structure in English:
+--Page | +-- Subpage 1 | +-- Subpage 2
Test 1¶
- On "Pagina" create a content element, type: Menu > Submenu
- Select as starting point "Pagina"
- Translate it (Mode: Translate)
Results on frontend when visiting the page "Pagina" in italian and english
"Pagina" (Italian) | "Page" (English) | |
---|---|---|
The menu contains: | Sottopagina 1 Sottopagina 2 |
Subpage 1 Subpage 2 |
Test 2¶
Edit "Sottopagina 2" > tab "Languages" > check "Hide default translation of page"
Results on frontend when visiting the page "Pagina" in italian and english
"Pagina" (Italian) | "Page" (English) | |
---|---|---|
The menu contains: | Sottopagina 1 |
Subpage 1 Subpage 2 |
All the links are working.
Is this the expected result? Should a different test be performed?
Updated by Benni Mack almost 5 years ago
- Status changed from New to Closed
I tried it as well, and HMENU list and directory are working in TYPO3 v9.5.13. If the problem still occurs, let me know, and I will re-open the ticket.
Updated by Benni Mack almost 5 years ago
- Related to Bug #88344: HMENU directory incompatible with free mode added