Project

General

Profile

Actions

Bug #95770

open

Site configuration language fallback wrong labels from xml/xlf

Added by Alexander Köberl over 2 years ago. Updated over 2 years 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:

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 #1

Updated by Georg Ringer over 2 years ago

  • Assignee deleted (Tymoteusz Motylewski)
Actions #2

Updated by Georg Ringer over 2 years ago

  • Subject changed from Site configuration language fallback wrong labels from xml/xlt to Site configuration language fallback wrong labels from xml/xlf
Actions #3

Updated by Astrid Haubold 7 months ago

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

Also available in: Atom PDF