Project

General

Profile

Actions

Bug #90948

closed

Object translation broken if object outside Site Configuration

Added by Frank Buijze over 4 years ago. Updated 8 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase + l10n
Start date:
2020-04-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
translation
Complexity:
medium
Is Regression:
Sprint Focus:

Description

When Objects are placed outside a Site Configuration (root tree of site), translation fails to work. This was not an issue TYPO3 9.

It is common to share translatable objects between different site configurations. It seems to be related to the selection of sys_languages. Inside a site-tree all available languages are available. Outside a site-tree only the main language is availble. Hence, no translation.

Screenshots

Image 1: my site configuration

my site configuration

Image 2: website languages (global)

website languages (global)

Image 3a and b: outside site tree (not working)

outside site tree (not working)
outside site tree (not working)

Image 4a and b: inside site tree (working)

inside site tree (working)
inside site tree (working)


Files

image4b.jpg (42.6 KB) image4b.jpg inside site tree (working) Frank Buijze, 2020-04-04 16:15
image4.jpg (49.7 KB) image4.jpg inside site tree (working) Frank Buijze, 2020-04-04 16:15
image3b.jpg (37.7 KB) image3b.jpg outside site tree (not working) Frank Buijze, 2020-04-04 16:15
image3a.jpg (28.5 KB) image3a.jpg outside site tree (not working) Frank Buijze, 2020-04-04 16:15
image2.jpg (35.9 KB) image2.jpg website languages (global) Frank Buijze, 2020-04-04 16:15
image1.jpg (74.2 KB) image1.jpg my site configuration Frank Buijze, 2020-04-04 16:15
Actions #1

Updated by Josef Glatz over 4 years ago

  • Description updated (diff)

Improve initial description of issue._

Actions #2

Updated by Frank Buijze over 4 years ago

Translation does not work on objects outside site-tree. The system does not recognize any language other than default. Languages are not loaded from database within TCA select, nor site configuration. No issues in TYPO3 9.* with this translation of objects outside site tree.

Image 3a en b show that the translation fails. Do I move the object within a site tree, image 4, everthing works. But this is far from logical if you want to use objects accross to site trees.

Actions #3

Updated by Benni Mack about 4 years ago

  • Target version changed from 10 LTS to next-patchlevel
Actions #4

Updated by Benni Mack about 4 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
Actions #5

Updated by Daniel Haupt about 3 years ago

#93989 seems to be related.

Actions #6

Updated by Tymoteusz Motylewski 9 days ago

  • Assignee deleted (Tymoteusz Motylewski)
Actions #7

Updated by Garvin Hicking 8 days ago

  • Status changed from New to Closed

I've consulted with our team and I think as with https://forge.typo3.org/issues/93989 it's unlikely this will be changed.

The reason is that site configs are more and more bound to their root, and are not really meant to access pages from outside the tree, especially when languages are involved. In the future this will probably even more self-contained.

I will close this issue because of that and hope you can understand.

Actions

Also available in: Atom PDF