#94030Second translation is not shown in BE in Fluid Based Page module
Description
The new page module does not show more than two languages (original and first translation) because of overwriting the {item} variable in EXT:backend/Resources/Private/Partials/PageLayout/LanguageColumns.html
Perhaps this works if the second translation is based on the first one, but in my case both translations are based on the source language. In this case {item.translations.{languageId}} in line 87 is empty and the content of the second translation doesnt get rendered. This is because {item} in this line is not the source item, but the item if the first translation! This happens because {item} gets overwritten in line 88 and is not reset at the beginning of the <f:for> loop.</f:for>
Quick fix, that works for me:
<f:for each=”{column.items}” as=“item” iteration=“itemIterator”>
<!— Safe the source item for reset in f:for —>
<f:variable name=“real_item” value=”{item}”/>
<tr>
<td class=“t3-grid-cell” data-colpos=”{column.columnNumber}”>
<f:render partial=“PageLayout/Record” arguments=”{_all}” />
</td>
<f:for each=”{languageColumns}” as=“languageColumn”>
<f:variable name=“item” value=”{real_item}”/>
<!— reset {item} to source again —>Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.