Project

General

Profile

Actions

Bug #95770

open

Site configuration language fallback wrong labels from xml/xlf

Added by Alexander Köberl about 3 years ago. Updated 5 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase + l10n
Target version:
-
Start date:
2021-10-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
language translation fallback
Complexity:
hard
Is Regression:
Sprint Focus:
Needs Decision

Description

If you use the site-configuration with fallback type "fallback", the wrong labels from xml/xliff files will be displayed.

Example:
TYPO3 default language is german id 0, english is id 1.
Fallback type is "fallback"
Fallback language is "Default language [0]"
XML/xliff files have english in "default" and german in "de" section.

With this site configuration I expect german labels to be displayed, but english labels will.
I guess method "initializeLocalization()" \TYPO3\CMS\Extbase\Utility\LocalizationUtility does not resepect the fallback settings in site configuration.
Tried to learn about and fix it, but to hard for me...

What I can do is extend \TYPO3\CMS\Extbase\Utility\LocalizationUtility and do a workaround.


Related issues 1 (1 open0 closed)

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

Actions
Actions

Also available in: Atom PDF