Bug #89130
closedPage Preview should respect language fallbacks
100%
Description
OK, we have a quite complicated setup... but its working and its necessarry, because parts of the website have different default languages in BE.
Here is a snippet from the a language-configuration in a site:
...
languages:
-
title: Deutsch
enabled: false
languageId: '0'
base: /
typo3Language: de
locale: de_DE.UTF-8
iso-639-1: de
navigationTitle: Deutsch
hreflang: de-DE
direction: ltr
flag: de
-
title: 'Übersetzung Deutsch (nicht verwendet)'
enabled: true
languageId: '2'
base: /
typo3Language: de
locale: de_DE.UTF-8
iso-639-1: de
navigationTitle: Deutsch
hreflang: de-DE
direction: ltr
fallbackType: free
fallbacks: '0'
flag: de
...
So effectively in FE the languageUid 2 is used but falls back to 0 (which is used in the BE)
This works great, BUT previewing hidden pages is not possible, because the preview does not respect the fallback defined in the site language.
Updated by Gerrit Code Review about 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61841
Updated by Gerrit Code Review about 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61842
Updated by Gerrit Code Review about 5 years ago
Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61842
Updated by Gerrit Code Review about 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61841
Updated by Benni Mack about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 86544089ae54a7d1d60ea00bfcb31aa97cc48205.