Bug #93765
openExtbase loses language overlay for related records
0%
Description
I have one record with sys_language_uid -1 set up and one relation to sys_category.
My category is translated in all existing languages, e.g. norwegian.
When I open that record in frontend for norwegian language I would except that extbase selects my translated norwegian category but instead default language is shown.
Seems like extbase doesn't respect current selected site language for me.
My language setting for default and norwegian language:
languages:
-
title: de
enabled: true
base: /
typo3Language: de
locale: de_DE.UTF-8
iso-639-1: de
navigationTitle: DE
hreflang: de-DE
direction: ''
flag: ch
languageId: '0'
-
title: NO
enabled: true
base: /no/
typo3Language: default
locale: no_NO.UTF-8
iso-639-1: no
navigationTitle: NO
hreflang: no-NO
direction: ''
fallbackType: strict
fallbacks: ''
flag: no
languageId: '1'
Updated by Alexander König over 2 years ago
- TYPO3 Version changed from 9 to 11
- PHP Version changed from 7.2 to 7.4
- Complexity set to hard
Hi, guess I have the same issue but with a different configuration:
I got translated records for products. Each product has multiple productProperties which are not translated and have sys_language_uid -1 assigned to them.
Every productProperty has a relation to a propertyGroup. PropertyGroups are translated.
The issue is that propertyGroups are now just displayed in default language in the frontend.
But when a productProperty is translated, the assigned propertyGroup will now also be translated in the frontend.
Another wiered behaviour in this context: The record product has categories, which are translated and also have a relation to propertyGroups. If the propertyGroup assigned to the productProperty is also assigned to the product category, the translation for propertyGroup will be correctly overlayed.
It seems like extbase can not handle translations of relations, which "parents" have sys_language_uid set to -1.
Updated by Astrid Haubold about 1 year ago
- Related to Story #101566: Extbase related translation issues added