Project

General

Profile

Actions

Bug #93765

open

Extbase loses language overlay for related records

Added by Philipp Idler over 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2021-03-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
hard
Is Regression:
Sprint Focus:

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'


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Story #101566: Extbase related translation issuesNew2023-08-03

Actions
Actions #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.

Actions #2

Updated by Astrid Haubold about 1 year ago

  • Related to Story #101566: Extbase related translation issues added
Actions

Also available in: Atom PDF